Documentation ¶
Index ¶
- func ConvertUserInfoTypes(in *accountrpc.UserInfoResp) *types.UserInfoResp
- func ConvertUserLoginHistoryTypes(in *accountrpc.UserLoginHistory) *types.UserLoginHistory
- func ConvertUserMenuTypes(in *permissionrpc.MenuDetails) (out *types.UserMenu)
- type GetUserApisLogic
- type GetUserInfoLogic
- type GetUserLoginHistoryListLogic
- type GetUserMenusLogic
- type GetUserRolesLogic
- type UpdateUserInfoLogic
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.