Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserInfoToPb ¶
func UserInfoToPb(ui *relationDB.SysUserInfo) *sys.UserInfo
Types ¶
type CheckTokenLogic ¶
type CheckTokenLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserCheckTokenLogic ¶ added in v0.5.1
func NewUserCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckTokenLogic
func (*CheckTokenLogic) UserCheckToken ¶ added in v0.5.1
func (l *CheckTokenLogic) UserCheckToken(in *sys.UserCheckTokenReq) (*sys.UserCheckTokenResp, error)
type CreateLogic ¶
type CreateLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserCreateLogic ¶ added in v0.5.1
func NewUserCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) UserCreate ¶ added in v0.5.1
func (l *CreateLogic) UserCreate(in *sys.UserInfo) (*sys.UserCreateResp, error)
type DeleteLogic ¶
type DeleteLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserDeleteLogic ¶ added in v0.5.1
func NewUserDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) UserDelete ¶ added in v0.5.1
func (l *DeleteLogic) UserDelete(in *sys.UserDeleteReq) (*sys.Response, error)
type IndexLogic ¶
type IndexLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserIndexLogic ¶ added in v0.5.1
func NewUserIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) UserIndex ¶ added in v0.5.1
func (l *IndexLogic) UserIndex(in *sys.UserIndexReq) (*sys.UserIndexResp, error)
type LoginLogic ¶
type LoginLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserLoginLogic ¶ added in v0.5.1
func NewUserLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
func (*LoginLogic) GetUserInfo ¶
func (l *LoginLogic) GetUserInfo(in *sys.UserLoginReq) (uc *relationDB.SysUserInfo, err error)
func (*LoginLogic) UserLogin ¶ added in v0.5.1
func (l *LoginLogic) UserLogin(in *sys.UserLoginReq) (*sys.UserLoginResp, error)
type ReadLogic ¶
type ReadLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserReadLogic ¶ added in v0.5.1
func NewUserReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
type UpdateLogic ¶
type UpdateLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserUpdateLogic ¶ added in v0.5.1
func NewUserUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) UserUpdate ¶ added in v0.5.1
Click to show internal directories.
Click to hide internal directories.