logic

package
v0.0.0-...-592b0ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaptchaLogic

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

func NewCaptchaLogic

func NewCaptchaLogic(ctx context.Context, svcCtx *svc.ServiceContext) CaptchaLogic

func (*CaptchaLogic) Captcha

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req types.LoginReq) (*types.LoginResp, error)

type ModifyUserInfoLogic

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

func NewModifyUserInfoLogic

func NewModifyUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) ModifyUserInfoLogic

func (*ModifyUserInfoLogic) ModifyUserInfo

func (l *ModifyUserInfoLogic) ModifyUserInfo(req types.ModifyUserInfoReq, uid int64) error

type Register2Logic

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

func NewRegister2Logic

func NewRegister2Logic(ctx context.Context, svcCtx *svc.ServiceContext) Register2Logic

func (*Register2Logic) Register2

func (l *Register2Logic) Register2(req types.Register2Req) error

注册完成后就需要填写用户信息,填写完成后才算注册成功(目前只有手机号注册登录需要走这步)

type RegisterCoreLogic

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

func NewRegisterCoreLogic

func NewRegisterCoreLogic(ctx context.Context, svcCtx *svc.ServiceContext) RegisterCoreLogic

func (*RegisterCoreLogic) RegisterCore

type UserInfoLogic

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

func NewUserInfoLogic

func NewUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserInfoLogic

func (*UserInfoLogic) UserInfo

func (l *UserInfoLogic) UserInfo(uid int64) (*types.UserInfo, error)

Jump to

Keyboard shortcuts

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