user

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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
}

MessageService 用户消息操作服务

func NewMessageService added in v1.0.2

func NewMessageService(userMessageBiz *biz.UserMessageBiz) *MessageService

NewMessageService 创建用户消息操作服务

func (*MessageService) CancelMessage added in v1.1.0

CancelMessage 取消用户消息

func (*MessageService) ConfirmMessage added in v1.1.0

ConfirmMessage 确认用户消息

func (*MessageService) DeleteMessages added in v1.0.2

DeleteMessages 删除用户消息

func (*MessageService) ListMessage added in v1.0.2

ListMessage 获取用户消息列表

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