userlogic

package
v0.0.0-...-7745932 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateUsersLogic

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

func NewBatchCreateUsersLogic

func NewBatchCreateUsersLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchCreateUsersLogic

func (*BatchCreateUsersLogic) BatchCreateUsers

func (l *BatchCreateUsersLogic) BatchCreateUsers(in *pb.BatchCreateUserReq) (*pb.IDsResp, error)

type BatchDeleteUserLogic

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

func NewBatchDeleteUserLogic

func NewBatchDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteUserLogic

func (*BatchDeleteUserLogic) BatchDeleteUser

func (l *BatchDeleteUserLogic) BatchDeleteUser(in *pb.IDsResp) (*pb.BaseResp, error)

type ChangePasswordLogic

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

func NewChangePasswordLogic

func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic

func (*ChangePasswordLogic) ChangePassword

func (l *ChangePasswordLogic) ChangePassword(in *pb.ChangePasswdReq) (*pb.BaseResp, error)

type CreateUserLogic

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

func NewCreateUserLogic

func NewCreateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateUserLogic

func (*CreateUserLogic) CreateUser

func (l *CreateUserLogic) CreateUser(in *pb.CreateUserReq) (*pb.BaseResp, error)

TODO: 小程序注册

type DeleteUserLogic

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

func NewDeleteUserLogic

func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic

func (*DeleteUserLogic) DeleteUser

func (l *DeleteUserLogic) DeleteUser(in *pb.IDReq) (*pb.BaseResp, error)

type GetUserListLogic

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

func NewGetUserListLogic

func NewGetUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListLogic

func (*GetUserListLogic) GetUserList

func (l *GetUserListLogic) GetUserList(in *pb.PageInfoReq) (*pb.UserListResp, error)

type GetUserLogic

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

func NewGetUserLogic

func NewGetUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserLogic

func (*GetUserLogic) GetUser

func (l *GetUserLogic) GetUser(in *pb.IDReq) (*pb.UserInfoResp, error)

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(in *pb.LoginReq) (*pb.LoginResp, error)

type UpdateProfileLogic

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

func NewUpdateProfileLogic

func NewUpdateProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProfileLogic

func (*UpdateProfileLogic) UpdateProfile

func (l *UpdateProfileLogic) UpdateProfile(in *pb.UpdateProfileReq) (*pb.BaseResp, error)

type UpdateUserStatusLogic

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

func NewUpdateUserStatusLogic

func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic

func (*UpdateUserStatusLogic) UpdateUserStatus

func (l *UpdateUserStatusLogic) UpdateUserStatus(in *pb.StatusCodeReq) (*pb.BaseResp, error)

Jump to

Keyboard shortcuts

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