usermanagelogic

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 30 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 Init added in v1.1.3

func Init()

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 UserBindAccountLogic added in v1.1.0

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

func NewUserBindAccountLogic added in v1.1.0

func NewUserBindAccountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserBindAccountLogic

func (*UserBindAccountLogic) UserBindAccount added in v1.1.0

func (l *UserBindAccountLogic) UserBindAccount(in *sys.UserBindAccountReq) (*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 UserDeptIndexLogic added in v1.1.0

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

func NewUserDeptIndexLogic added in v1.1.0

func NewUserDeptIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeptIndexLogic

func (*UserDeptIndexLogic) UserDeptIndex added in v1.1.0

type UserDeptMultiCreateLogic added in v1.1.0

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

func NewUserDeptMultiCreateLogic added in v1.1.0

func NewUserDeptMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeptMultiCreateLogic

func (*UserDeptMultiCreateLogic) UserDeptMultiCreate added in v1.1.0

func (l *UserDeptMultiCreateLogic) UserDeptMultiCreate(in *sys.UserDeptMultiSaveReq) (*sys.Empty, error)

type UserDeptMultiDeleteLogic added in v1.1.0

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

func NewUserDeptMultiDeleteLogic added in v1.1.0

func NewUserDeptMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeptMultiDeleteLogic

func (*UserDeptMultiDeleteLogic) UserDeptMultiDelete added in v1.1.0

func (l *UserDeptMultiDeleteLogic) UserDeptMultiDelete(in *sys.UserDeptMultiSaveReq) (*sys.Empty, error)

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