彭雪彬
2025-07-15 25526c5fe2edd5a6133a239b490f9d03044e75cf
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);
            }