account

package
v0.0.0-...-b32e05d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertUserInfoTypes

func ConvertUserInfoTypes(in *accountrpc.UserInfoResp) *types.UserInfoResp

func ConvertUserLoginHistoryTypes

func ConvertUserLoginHistoryTypes(in *accountrpc.UserLoginHistory, usm map[string]*accountrpc.User) (out *types.AccountLoginHistory)

Types

type FindAccountAreaAnalysisLogic

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

func NewFindAccountAreaAnalysisLogic

func NewFindAccountAreaAnalysisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAccountAreaAnalysisLogic

获取用户分布地区

func (*FindAccountAreaAnalysisLogic) FindAccountAreaAnalysis

func (l *FindAccountAreaAnalysisLogic) FindAccountAreaAnalysis(req *types.AccountQuery) (resp *types.PageResp, err error)

type FindAccountListLogic

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

func NewFindAccountListLogic

func NewFindAccountListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAccountListLogic

查询用户列表

func (*FindAccountListLogic) FindAccountList

func (l *FindAccountListLogic) FindAccountList(req *types.AccountQuery) (resp *types.PageResp, err error)

type FindAccountLoginHistoryListLogic

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

func NewFindAccountLoginHistoryListLogic

func NewFindAccountLoginHistoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAccountLoginHistoryListLogic

查询用户登录历史

func (*FindAccountLoginHistoryListLogic) FindAccountLoginHistoryList

func (l *FindAccountLoginHistoryListLogic) FindAccountLoginHistoryList(req *types.AccountQuery) (resp *types.PageResp, err error)

type FindAccountOnlineListLogic

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

func NewFindAccountOnlineListLogic

func NewFindAccountOnlineListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAccountOnlineListLogic

查询在线用户列表

func (*FindAccountOnlineListLogic) FindAccountOnlineList

func (l *FindAccountOnlineListLogic) FindAccountOnlineList(req *types.AccountQuery) (resp *types.PageResp, err error)

type UpdateAccountRolesLogic

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

func NewUpdateAccountRolesLogic

func NewUpdateAccountRolesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAccountRolesLogic

修改用户角色

func (*UpdateAccountRolesLogic) UpdateAccountRoles

func (l *UpdateAccountRolesLogic) UpdateAccountRoles(req *types.UpdateAccountRolesReq) (resp *types.EmptyResp, err error)

type UpdateAccountStatusLogic

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

func NewUpdateAccountStatusLogic

func NewUpdateAccountStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAccountStatusLogic

修改用户状态

func (*UpdateAccountStatusLogic) UpdateAccountStatus

func (l *UpdateAccountStatusLogic) UpdateAccountStatus(req *types.UpdateAccountStatusReq) (resp *types.EmptyResp, err error)

Jump to

Keyboard shortcuts

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