user

package
v0.0.0-...-40c8909 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 8 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) *types.UserLoginHistory

func ConvertUserMenuTypes

func ConvertUserMenuTypes(in *permissionrpc.MenuDetails) (out *types.UserMenu)

Types

type GetUserApisLogic

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

func NewGetUserApisLogic

func NewGetUserApisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserApisLogic

获取用户接口权限

func (*GetUserApisLogic) GetUserApis

func (l *GetUserApisLogic) GetUserApis(req *types.EmptyReq) (resp *types.UserApisResp, err error)

type GetUserInfoLogic

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

func NewGetUserInfoLogic

func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic

获取用户信息

func (*GetUserInfoLogic) GetUserInfo

func (l *GetUserInfoLogic) GetUserInfo(req *types.EmptyReq) (resp *types.UserInfoResp, err error)

type GetUserLoginHistoryListLogic

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

func NewGetUserLoginHistoryListLogic

func NewGetUserLoginHistoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserLoginHistoryListLogic

查询用户登录历史

func (*GetUserLoginHistoryListLogic) GetUserLoginHistoryList

func (l *GetUserLoginHistoryListLogic) GetUserLoginHistoryList(req *types.UserLoginHistoryQuery) (resp *types.PageResp, err error)

type GetUserMenusLogic

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

func NewGetUserMenusLogic

func NewGetUserMenusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserMenusLogic

获取用户菜单权限

func (*GetUserMenusLogic) GetUserMenus

func (l *GetUserMenusLogic) GetUserMenus(req *types.EmptyReq) (resp *types.UserMenusResp, err error)

type GetUserRolesLogic

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

func NewGetUserRolesLogic

func NewGetUserRolesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserRolesLogic

获取用户角色

func (*GetUserRolesLogic) GetUserRoles

func (l *GetUserRolesLogic) GetUserRoles(req *types.EmptyReq) (resp *types.UserRolesResp, err error)

type UpdateUserInfoLogic

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

func NewUpdateUserInfoLogic

func NewUpdateUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserInfoLogic

修改用户信息

func (*UpdateUserInfoLogic) UpdateUserInfo

func (l *UpdateUserInfoLogic) UpdateUserInfo(req *types.UserInfoReq) (resp *types.EmptyResp, err error)

Jump to

Keyboard shortcuts

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