更新接口
This commit is contained in:
@@ -35,12 +35,22 @@ public class UserController {
|
||||
@Autowired
|
||||
private IUserCurrentRoleService userCurrentRoleService;
|
||||
|
||||
|
||||
/** 当前登录用户信息(CAS 注入)。 */
|
||||
@GetMapping("GetUserInfo")
|
||||
public BoaUser getUserInfo(BoaUser authUserWithDept) {
|
||||
return authUserWithDept;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当前登录用户信息(旧 UserCenter 契约端点 {@code getuserinfo},等价于 GetUserInfo)。
|
||||
* 原版前端 {@code apiConf.Base.GetUserInfo} 调用此名,后端补齐以对齐迁移。
|
||||
*/
|
||||
@GetMapping("getuserinfo")
|
||||
public BoaUser getUserInfoLegacy(BoaUser authUserWithDept) {
|
||||
return authUserWithDept;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当前用户可访问的应用全集(跨仓 UserBase 实时拉取,按应用类型分组)。
|
||||
* 前端据此:渲染分类 tab(含「全部」)+ 图标网格;常用区由 getUsedApp 独立提供。
|
||||
|
||||
Reference in New Issue
Block a user