logic

package
v1.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OAuthUrl            = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code"
	VerifyCodeKeyPrefix = "verify:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SendVerifyCodeLogic

type SendVerifyCodeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSendVerifyCodeLogic

func NewSendVerifyCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendVerifyCodeLogic

func (*SendVerifyCodeLogic) SendVerifyCode

type SetPasswordLogic

type SetPasswordLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSetPasswordLogic

func NewSetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetPasswordLogic

func (*SetPasswordLogic) SetPassword

func (l *SetPasswordLogic) SetPassword(in *pb.SetPasswordReq) (*pb.SetPasswordResp, error)

type SignInLogic

type SignInLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSignInLogic

func NewSignInLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SignInLogic

func (*SignInLogic) SignIn

func (l *SignInLogic) SignIn(in *pb.SignInReq) (resp *pb.SignInResp, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL