Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPhoneNotRegister = errorx.New(errorx.ServerCommonError, "手机号码未注册") ErrUserPwdError = errorx.New(errorx.ServerCommonError, "密码错误") )
View Source
var ErrPhoneIsRegister = errorx.New(errorx.ServerCommonError, "手机号码已注册")
View Source
var ErrUserNotFound = errorx.New(errorx.ServerCommonError, "用户不存在")
Functions ¶
This section is empty.
Types ¶
type FindUserLogic ¶
func NewFindUserLogic ¶
func NewFindUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserLogic
func (*FindUserLogic) FindUser ¶
func (l *FindUserLogic) FindUser(in *user.FindUserReq) (*user.FindUserResp, error)
type GetUserInfoLogic ¶
func NewGetUserInfoLogic ¶
func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic
func (*GetUserInfoLogic) GetUserInfo ¶
func (l *GetUserInfoLogic) GetUserInfo(in *user.GetUserInfoReq) (*user.GetUserInfoResp, error)
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
type PingLogic ¶
func NewPingLogic ¶
func NewPingLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PingLogic
type RegisterLogic ¶
func NewRegisterLogic ¶
func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic
func (*RegisterLogic) Register ¶
func (l *RegisterLogic) Register(in *user.RegisterReq) (*user.RegisterResp, error)
Click to show internal directories.
Click to hide internal directories.