user

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageService added in v1.0.2

type MessageService struct {
	pb.UnimplementedMessageServer
	// contains filtered or unexported fields
}

func NewMessageService added in v1.0.2

func NewMessageService(userMessageBiz *biz.UserMessageBiz) *MessageService

func (*MessageService) CancelMessage added in v1.1.0

func (*MessageService) ConfirmMessage added in v1.1.0

func (*MessageService) DeleteMessages added in v1.0.2

func (*MessageService) ListMessage added in v1.0.2

type Service

type Service struct {
	userapi.UnimplementedUserServer
	// contains filtered or unexported fields
}

Service 用户管理服务

func NewUserService

func NewUserService(userBiz *biz.UserBiz) *Service

NewUserService 创建用户服务

func (*Service) BatchUpdateUserStatus

BatchUpdateUserStatus 批量更新用户状态

func (*Service) CreateUser

CreateUser 创建用户 只允许管理员操作

func (*Service) DeleteUser

DeleteUser 删除用户 只允许管理员操作

func (*Service) GetUser

GetUser 获取用户详情

func (*Service) GetUserSelectList

func (s *Service) GetUserSelectList(ctx context.Context, req *userapi.ListUserRequest) (*userapi.GetUserSelectListReply, error)

GetUserSelectList 获取用户下拉列表

func (*Service) GetUserSelfBasic added in v1.1.0

GetUserSelfBasic 获取用户个人基础信息

func (*Service) ListUser

ListUser 获取用户列表

func (*Service) ResetUserPassword

ResetUserPassword 重置用户密码

func (*Service) ResetUserPasswordBySelf

ResetUserPasswordBySelf 重置用户密码

func (*Service) UpdateUser

UpdateUser 更新用户基础信息, 只允许管理员操作

func (*Service) UpdateUserAvatar

UpdateUserAvatar 更新用户头像

func (*Service) UpdateUserBaseInfo

UpdateUserBaseInfo 更新用户基础信息

func (*Service) UpdateUserEmail

UpdateUserEmail 更新用户邮箱

func (*Service) UpdateUserPhone

UpdateUserPhone 更新用户手机号

Jump to

Keyboard shortcuts

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