SecurityConfig.java
2.53 KB
-
fix: SysConfig/SysLogininfor/SysPasswordService 完全对齐 custom-back · f1db6a85
- SysConfigServiceImpl: 新增 Redis 缓存层 + @PostConstruct 启动加载全部配置 (与 custom-back selectConfigByKey 一致的: Redis→DB→缓存回写 流程) - SysPasswordService: 改用 @Value 可配置 maxRetryCount/lockTime (与 custom-back user.password.maxRetryCount/lockTime 对齐) - SysLogininforServiceImpl: 新增 IP/浏览器/操作系统 采集 (与 custom-back AsyncFactory.recordLogininfor 对齐: X-Forwarded-For→X-Real-IP→RemoteAddr, User-Agent 解析浏览器和OS) - SysConfigService.selectCaptchaEnabled: 默认返回 true(与 custom-back 一致) Co-Authored-By: Claude <noreply@anthropic.com>
Lizh committed