Documentation
¶
Index ¶
- func ConvertUserInfoTypes(in *accountrpc.UserInfoResp) *types.UserInfoResp
- func ConvertUserLoginHistoryTypes(in *accountrpc.UserLoginHistory, usm map[string]*accountrpc.User) (out *types.AccountLoginHistory)
- type FindAccountAreaAnalysisLogic
- type FindAccountListLogic
- type FindAccountLoginHistoryListLogic
- type FindAccountOnlineListLogic
- type UpdateAccountRolesLogic
- type UpdateAccountStatusLogic
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.