xin
2025-07-02 04f33d32c28830004917c356d57f1a2714f2be0e
oying-system/src/main/java/com/oying/modules/security/service/UserDetailsServiceImpl.java
@@ -40,7 +40,7 @@
                // 获取用户的权限
                List<AuthorityDto> authorities = roleService.buildPermissions(user);
                // 初始化JwtUserDto
                jwtUserDto = new JwtUserDto(user, dataService.getDeptIds(user), authorities);
                jwtUserDto = new JwtUserDto(user, dataService.getDataIds(user), authorities);
                // 添加缓存数据
                userCacheManager.addUserCache(username, jwtUserDto);
            }