Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindUserEmailLogic ¶
func NewBindUserEmailLogic ¶
func NewBindUserEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BindUserEmailLogic
绑定邮箱
func (*BindUserEmailLogic) BindUserEmail ¶
func (l *BindUserEmailLogic) BindUserEmail(req *types.BindUserEmailReq) (resp *types.EmptyResp, err error)
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
type LogoffLogic ¶
func NewLogoffLogic ¶
func NewLogoffLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoffLogic
注销
type LogoutLogic ¶
func NewLogoutLogic ¶
func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic
登出
type OauthAuthorizeUrlLogic ¶
func NewOauthAuthorizeUrlLogic ¶
func NewOauthAuthorizeUrlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthAuthorizeUrlLogic
第三方登录授权地址
func (*OauthAuthorizeUrlLogic) OauthAuthorizeUrl ¶
func (l *OauthAuthorizeUrlLogic) OauthAuthorizeUrl(req *types.OauthLoginReq) (resp *types.OauthLoginUrlResp, err error)
type OauthLoginLogic ¶
func NewOauthLoginLogic ¶
func NewOauthLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthLoginLogic
第三方登录
func (*OauthLoginLogic) OauthLogin ¶
func (l *OauthLoginLogic) OauthLogin(req *types.OauthLoginReq) (resp *types.LoginResp, err error)
type RegisterLogic ¶
func NewRegisterLogic ¶
func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic
注册
func (*RegisterLogic) Register ¶
func (l *RegisterLogic) Register(req *types.RegisterReq) (resp *types.EmptyResp, err error)
type ResetPasswordLogic ¶
func NewResetPasswordLogic ¶
func NewResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic
重置密码
func (*ResetPasswordLogic) ResetPassword ¶
func (l *ResetPasswordLogic) ResetPassword(req *types.ResetPasswordReq) (resp *types.EmptyResp, err error)
type SendBindEmailLogic ¶
func NewSendBindEmailLogic ¶
func NewSendBindEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendBindEmailLogic
发送绑定邮箱验证码
func (*SendBindEmailLogic) SendBindEmail ¶
func (l *SendBindEmailLogic) SendBindEmail(req *types.UserEmailReq) (resp *types.EmptyResp, err error)
type SendRegisterEmailLogic ¶
func NewSendRegisterEmailLogic ¶
func NewSendRegisterEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendRegisterEmailLogic
发送注册账号邮件
func (*SendRegisterEmailLogic) SendRegisterEmail ¶
func (l *SendRegisterEmailLogic) SendRegisterEmail(req *types.UserEmailReq) (resp *types.EmptyResp, err error)
type SendResetEmailLogic ¶
func NewSendResetEmailLogic ¶
func NewSendResetEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendResetEmailLogic
发送重置密码邮件
func (*SendResetEmailLogic) SendResetEmail ¶
func (l *SendResetEmailLogic) SendResetEmail(req *types.UserEmailReq) (resp *types.EmptyResp, err error)
Click to show internal directories.
Click to hide internal directories.