救援APP

This commit is contained in:
xiao-fajia 2024-08-24 11:03:02 +08:00
parent dbf60d496d
commit 2fb14ca078

View File

@ -223,7 +223,8 @@ public class SysLoginController {
public CommonResult getInfo() {
HashMap<String, Object> map = new HashMap<>();
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
map.put("user", loginUser);
AdminUserRespDTO user = userService.getUser(loginUser.getId());
map.put("user", user);
// 角色集合
List<Long> roleIdsByUserId = permissionApi.getRoleIdsByUserId(loginUser.getId());
List<RoleReqDTO> roleList = roleApi.getRoleList();