RuoYi
2021-08-13 e3519395521029350b9273c14ec560d44a835007
src/main/java/com/ruoyi/framework/security/service/UserDetailsServiceImpl.java
@@ -55,6 +55,6 @@
    public UserDetails createLoginUser(SysUser user)
    {
        return new LoginUser(user, permissionService.getMenuPermission(user));
        return new LoginUser(user.getUserId(), user.getDeptId(), user, permissionService.getMenuPermission(user));
    }
}