public class UserService extends Object
| Constructor and Description |
|---|
UserService(UnifiAuthClient unifiAuthClient) |
| Modifier and Type | Method and Description |
|---|---|
List<ApplicationDetail> |
queryUserApplications(String token)
获取用户拥有的子系统列表
|
ListData<UserDetail> |
queryUserList(String token,
String username,
String name,
String phone,
String email,
Integer pages,
Integer rows)
获取用户资源列表
|
List<MenuDetail> |
queryUserMenuTree(String token)
查询用户拥有的菜单树(SCOPE:menus)
如需使用此功能,需要在统一权限平台上对用户进行角色设置 每个用户在每个子系统中拥有的权限和菜单都不相同 |
UserProfile |
queryUserProfile(String token)
查询用户基础信息(SCOPE:profile)
|
List<RoleDetail> |
queryUserRoleList(String token)
查询用户的角色列表(SCOPE:roles)
如需使用此功能,需要在统一权限平台上对用户进行角色设置 每个用户在每个子系统中拥有的权限和菜单都不相同 |
public UserService(UnifiAuthClient unifiAuthClient)
public UserProfile queryUserProfile(String token) throws Exception
token - Exceptionpublic List<RoleDetail> queryUserRoleList(String token) throws Exception
token - Exceptionpublic List<MenuDetail> queryUserMenuTree(String token) throws Exception
token - Exceptionpublic List<ApplicationDetail> queryUserApplications(String token) throws Exception
token - ExceptionCopyright © 2023. All rights reserved.