Documentation ¶
Index ¶
- func GetRoleInfo(roleId uint64, rds *redis.Redis, db *ent.Client, ctx context.Context) (roleName, roleValue string, err error)
- type BatchDeleteUserLogic
- type ChangePasswordLogic
- type CreateOrUpdateUserLogic
- type DeleteUserLogic
- type GetUserByIdLogic
- type GetUserListLogic
- type LoginLogic
- type UpdateProfileLogic
- type UpdateUserStatusLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchDeleteUserLogic ¶
func NewBatchDeleteUserLogic ¶
func NewBatchDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteUserLogic
func (*BatchDeleteUserLogic) BatchDeleteUser ¶
type ChangePasswordLogic ¶
func NewChangePasswordLogic ¶
func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic
func (*ChangePasswordLogic) ChangePassword ¶
func (l *ChangePasswordLogic) ChangePassword(in *core.ChangePasswordReq) (*core.BaseResp, error)
type CreateOrUpdateUserLogic ¶
func NewCreateOrUpdateUserLogic ¶
func NewCreateOrUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateUserLogic
func (*CreateOrUpdateUserLogic) CreateOrUpdateUser ¶
func (l *CreateOrUpdateUserLogic) CreateOrUpdateUser(in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)
type DeleteUserLogic ¶
func NewDeleteUserLogic ¶
func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic
func (*DeleteUserLogic) DeleteUser ¶
type GetUserByIdLogic ¶
func NewGetUserByIdLogic ¶
func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic
func (*GetUserByIdLogic) GetUserById ¶
func (l *GetUserByIdLogic) GetUserById(in *core.UUIDReq) (*core.UserInfoResp, error)
type GetUserListLogic ¶
func NewGetUserListLogic ¶
func NewGetUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListLogic
func (*GetUserListLogic) GetUserList ¶
func (l *GetUserListLogic) GetUserList(in *core.GetUserListReq) (*core.UserListResp, error)
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
type UpdateProfileLogic ¶
func NewUpdateProfileLogic ¶
func NewUpdateProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProfileLogic
func (*UpdateProfileLogic) UpdateProfile ¶
func (l *UpdateProfileLogic) UpdateProfile(in *core.UpdateProfileReq) (*core.BaseResp, error)
type UpdateUserStatusLogic ¶
func NewUpdateUserStatusLogic ¶
func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic
func (*UpdateUserStatusLogic) UpdateUserStatus ¶
func (l *UpdateUserStatusLogic) UpdateUserStatus(in *core.StatusCodeUUIDReq) (*core.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.