feige
2024-11-19 63240c3b7edb2a149511fdbe4108755ad60db91f
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
@@ -144,7 +144,7 @@
            SysUser sysUser = userService.selectUserById(userId);
            ajax.put(AjaxResult.DATA_TAG, sysUser);
            ajax.put("postIds", postService.selectPostListByUserId(userId));
            ajax.put("roleIds", sysUser.getRoles().stream().map(SysRole::getRoleId).collect(Collectors.toList()));
//            ajax.put("roleIds", sysUser.getRoles().stream().map(SysRole::getRoleId).collect(Collectors.toList()));
        }
        return ajax;
    }