更新接口

This commit is contained in:
chenxing
2026-08-21 14:25:08 +08:00
parent 000993df80
commit 67bd105b1d
3 changed files with 14 additions and 5 deletions
@@ -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 独立提供。