Documentation ¶
Index ¶
- func CheckPwd(svcCtx *svc.ServiceContext, pwd string) error
- func CheckUserName(userName string) error
- func GetAccount(ui *relationDB.SysUserInfo) string
- func Register(ctx context.Context, svcCtx *svc.ServiceContext, in *relationDB.SysUserInfo, ...) error
- func ToUserAreaApplyInfos(in []*relationDB.SysUserAreaApply) (ret []*sys.UserAreaApplyInfo)
- func UpdateMsg(ctx context.Context, NotifyCode string, Group string) error
- func UserInfoToPb(ctx context.Context, ui *relationDB.SysUserInfo, svcCtx *svc.ServiceContext) *sys.UserInfo
- type CheckTokenLogic
- type LoginLogic
- type UserAreaApplyCreateLogic
- type UserCaptchaLogic
- type UserChangePwdLogic
- type UserCodeToUserIDLogic
- type UserForgetPwdLogic
- type UserInfoCreateLogic
- type UserInfoDeleteLogic
- type UserInfoIndexLogic
- type UserInfoReadLogic
- type UserInfoUpdateLogic
- type UserMessageIndexLogic
- type UserMessageMultiIsReadLogic
- type UserMessageStatisticsLogic
- type UserProfileIndexLogic
- type UserProfileReadLogic
- type UserProfileUpdateLogic
- type UserRegisterLogic
- type UserRoleIndexLogic
- type UserRoleMultiCreateLogic
- type UserRoleMultiUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserName ¶
func GetAccount ¶
func GetAccount(ui *relationDB.SysUserInfo) string
func Register ¶
func Register(ctx context.Context, svcCtx *svc.ServiceContext, in *relationDB.SysUserInfo, tx *gorm.DB) error
func ToUserAreaApplyInfos ¶
func ToUserAreaApplyInfos(in []*relationDB.SysUserAreaApply) (ret []*sys.UserAreaApplyInfo)
func UserInfoToPb ¶
func UserInfoToPb(ctx context.Context, ui *relationDB.SysUserInfo, svcCtx *svc.ServiceContext) *sys.UserInfo
Types ¶
type CheckTokenLogic ¶
type CheckTokenLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserCheckTokenLogic ¶
func NewUserCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckTokenLogic
func (*CheckTokenLogic) UserCheckToken ¶
func (l *CheckTokenLogic) UserCheckToken(in *sys.UserCheckTokenReq) (*sys.UserCheckTokenResp, error)
type LoginLogic ¶
type LoginLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserLoginLogic ¶
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 ¶
func (l *LoginLogic) UserLogin(in *sys.UserLoginReq) (*sys.UserLoginResp, error)
type UserAreaApplyCreateLogic ¶
func NewUserAreaApplyCreateLogic ¶
func NewUserAreaApplyCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserAreaApplyCreateLogic
func (*UserAreaApplyCreateLogic) UserAreaApplyCreate ¶
func (l *UserAreaApplyCreateLogic) UserAreaApplyCreate(in *sys.UserAreaApplyCreateReq) (*sys.Empty, error)
type UserCaptchaLogic ¶
func NewUserCaptchaLogic ¶
func NewUserCaptchaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserCaptchaLogic
func (*UserCaptchaLogic) UserCaptcha ¶
func (l *UserCaptchaLogic) UserCaptcha(in *sys.UserCaptchaReq) (*sys.UserCaptchaResp, error)
type UserChangePwdLogic ¶
func NewUserChangePwdLogic ¶
func NewUserChangePwdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserChangePwdLogic
func (*UserChangePwdLogic) UserChangePwd ¶
func (l *UserChangePwdLogic) UserChangePwd(in *sys.UserChangePwdReq) (*sys.Empty, error)
type UserCodeToUserIDLogic ¶
func NewUserCodeToUserIDLogic ¶
func NewUserCodeToUserIDLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserCodeToUserIDLogic
func (*UserCodeToUserIDLogic) UserCodeToUserID ¶
func (l *UserCodeToUserIDLogic) UserCodeToUserID(in *sys.UserCodeToUserIDReq) (*sys.UserCodeToUserIDResp, error)
type UserForgetPwdLogic ¶
func NewUserForgetPwdLogic ¶
func NewUserForgetPwdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserForgetPwdLogic
func (*UserForgetPwdLogic) UserForgetPwd ¶
func (l *UserForgetPwdLogic) UserForgetPwd(in *sys.UserForgetPwdReq) (*sys.Empty, error)
type UserInfoCreateLogic ¶
type UserInfoCreateLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserInfoCreateLogic ¶
func NewUserInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoCreateLogic
func (*UserInfoCreateLogic) UserInfoCreate ¶
func (l *UserInfoCreateLogic) UserInfoCreate(in *sys.UserInfoCreateReq) (*sys.UserCreateResp, error)
func (*UserInfoCreateLogic) UserInfoInsert ¶
func (l *UserInfoCreateLogic) UserInfoInsert(in *sys.UserInfoCreateReq) (int64, error)
type UserInfoDeleteLogic ¶
type UserInfoDeleteLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserInfoDeleteLogic ¶
func NewUserInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoDeleteLogic
func (*UserInfoDeleteLogic) UserInfoDelete ¶
func (l *UserInfoDeleteLogic) UserInfoDelete(in *sys.UserInfoDeleteReq) (*sys.Empty, error)
type UserInfoIndexLogic ¶
type UserInfoIndexLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserInfoIndexLogic ¶
func NewUserInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoIndexLogic
func (*UserInfoIndexLogic) UserInfoIndex ¶
func (l *UserInfoIndexLogic) UserInfoIndex(in *sys.UserInfoIndexReq) (*sys.UserInfoIndexResp, error)
type UserInfoReadLogic ¶
type UserInfoReadLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserInfoReadLogic ¶
func NewUserInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoReadLogic
func (*UserInfoReadLogic) UserInfoRead ¶
func (l *UserInfoReadLogic) UserInfoRead(in *sys.UserInfoReadReq) (*sys.UserInfo, error)
type UserInfoUpdateLogic ¶
type UserInfoUpdateLogic struct { logx.Logger UiDB *relationDB.UserInfoRepo // contains filtered or unexported fields }
func NewUserInfoUpdateLogic ¶
func NewUserInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoUpdateLogic
func (*UserInfoUpdateLogic) UserInfoUpdate ¶
func (l *UserInfoUpdateLogic) UserInfoUpdate(in *sys.UserInfoUpdateReq) (*sys.Empty, error)
type UserMessageIndexLogic ¶
func NewUserMessageIndexLogic ¶
func NewUserMessageIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserMessageIndexLogic
func (*UserMessageIndexLogic) UserMessageIndex ¶
func (l *UserMessageIndexLogic) UserMessageIndex(in *sys.UserMessageIndexReq) (*sys.UserMessageIndexResp, error)
type UserMessageMultiIsReadLogic ¶
func NewUserMessageMultiIsReadLogic ¶
func NewUserMessageMultiIsReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserMessageMultiIsReadLogic
func (*UserMessageMultiIsReadLogic) UserMessageMultiIsRead ¶
type UserMessageStatisticsLogic ¶
func NewUserMessageStatisticsLogic ¶
func NewUserMessageStatisticsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserMessageStatisticsLogic
func (*UserMessageStatisticsLogic) UserMessageStatistics ¶
func (l *UserMessageStatisticsLogic) UserMessageStatistics(in *sys.Empty) (*sys.UserMessageStatisticsResp, error)
type UserProfileIndexLogic ¶
func NewUserProfileIndexLogic ¶
func NewUserProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserProfileIndexLogic
func (*UserProfileIndexLogic) UserProfileIndex ¶
func (l *UserProfileIndexLogic) UserProfileIndex(in *sys.UserProfileIndexReq) (*sys.UserProfileIndexResp, error)
type UserProfileReadLogic ¶
func NewUserProfileReadLogic ¶
func NewUserProfileReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserProfileReadLogic
func (*UserProfileReadLogic) UserProfileRead ¶
func (l *UserProfileReadLogic) UserProfileRead(in *sys.WithCode) (*sys.UserProfile, error)
type UserProfileUpdateLogic ¶
func NewUserProfileUpdateLogic ¶
func NewUserProfileUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserProfileUpdateLogic
func (*UserProfileUpdateLogic) UserProfileUpdate ¶
func (l *UserProfileUpdateLogic) UserProfileUpdate(in *sys.UserProfile) (*sys.Empty, error)
type UserRegisterLogic ¶
func NewUserRegisterLogic ¶
func NewUserRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRegisterLogic
func (*UserRegisterLogic) FillUserInfo ¶
func (l *UserRegisterLogic) FillUserInfo(in *relationDB.SysUserInfo, tx *gorm.DB) error
func (*UserRegisterLogic) UserRegister ¶
func (l *UserRegisterLogic) UserRegister(in *sys.UserRegisterReq) (*sys.UserRegisterResp, error)
type UserRoleIndexLogic ¶
func NewUserRoleIndexLogic ¶
func NewUserRoleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRoleIndexLogic
func (*UserRoleIndexLogic) UserRoleIndex ¶
func (l *UserRoleIndexLogic) UserRoleIndex(in *sys.UserRoleIndexReq) (*sys.UserRoleIndexResp, error)
type UserRoleMultiCreateLogic ¶
func NewUserRoleMultiCreateLogic ¶
func NewUserRoleMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRoleMultiCreateLogic
func (*UserRoleMultiCreateLogic) UserRoleMultiCreate ¶
func (l *UserRoleMultiCreateLogic) UserRoleMultiCreate(in *sys.UserRoleMultiUpdateReq) (*sys.Empty, error)
type UserRoleMultiUpdateLogic ¶
func NewUserRoleMultiUpdateLogic ¶
func NewUserRoleMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRoleMultiUpdateLogic
func (*UserRoleMultiUpdateLogic) UserRoleMultiUpdate ¶
func (l *UserRoleMultiUpdateLogic) UserRoleMultiUpdate(in *sys.UserRoleMultiUpdateReq) (*sys.Empty, error)
Source Files ¶
- assemble.go
- common.go
- userAreaApplyCreateLogic.go
- userCaptchaLogic.go
- userChangePwdLogic.go
- userChecktokenlogic.go
- userCodeToUserIDLogic.go
- userForgetPwdLogic.go
- userInfoCreateLogic.go
- userInfoDeleteLogic.go
- userInfoIndexLogic.go
- userInfoReadLogic.go
- userInfoUpdateLogic.go
- userLoginlogic.go
- userMessageIndexLogic.go
- userMessageMultiIsReadLogic.go
- userMessageStatisticsLogic.go
- userProfileIndexLogic.go
- userProfileReadLogic.go
- userProfileUpdateLogic.go
- userRegisterLogic.go
- userRoleIndexLogic.go
- userRoleMultiCreateLogic.go
- userRoleMultiUpdateLogic.go
Click to show internal directories.
Click to hide internal directories.