usermanagelogic

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPwd

func CheckPwd(svcCtx *svc.ServiceContext, pwd string) error

func CheckUserName

func CheckUserName(userName string) error

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 UpdateMsg

func UpdateMsg(ctx context.Context, NotifyCode string, Group string) error

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

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

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

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

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

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

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

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

func NewUserCodeToUserIDLogic

func NewUserCodeToUserIDLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserCodeToUserIDLogic

func (*UserCodeToUserIDLogic) UserCodeToUserID

type UserForgetPwdLogic

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

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

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

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

func NewUserMessageIndexLogic

func NewUserMessageIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserMessageIndexLogic

func (*UserMessageIndexLogic) UserMessageIndex

type UserMessageMultiIsReadLogic

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

func NewUserMessageMultiIsReadLogic

func NewUserMessageMultiIsReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserMessageMultiIsReadLogic

func (*UserMessageMultiIsReadLogic) UserMessageMultiIsRead

func (l *UserMessageMultiIsReadLogic) UserMessageMultiIsRead(in *sys.IDList) (*sys.Empty, error)

type UserMessageStatisticsLogic

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

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

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

func NewUserProfileIndexLogic

func NewUserProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserProfileIndexLogic

func (*UserProfileIndexLogic) UserProfileIndex

type UserProfileReadLogic

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

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

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

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

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

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

type UserRoleIndexLogic

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

func NewUserRoleIndexLogic

func NewUserRoleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRoleIndexLogic

func (*UserRoleIndexLogic) UserRoleIndex

type UserRoleMultiCreateLogic

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

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

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

func NewUserRoleMultiUpdateLogic

func NewUserRoleMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserRoleMultiUpdateLogic

func (*UserRoleMultiUpdateLogic) UserRoleMultiUpdate

func (l *UserRoleMultiUpdateLogic) UserRoleMultiUpdate(in *sys.UserRoleMultiUpdateReq) (*sys.Empty, error)

Jump to

Keyboard shortcuts

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