feat: 完成数据中心转发网关核心功能(真实联调通过)
核心功能(已连接真实源服务器验证):
- /sys/watchUserLogin 本地处理:RSA解密验证设备密码(防伪造) + 单飞换token + Redis缓存
- 业务接口经本地通配Controller手动HttpUtils透传至源服务器 + 401检测清缓存
- token失效三重自愈:10秒探活 + 预过期刷新 + 被动401兜底
配置隔离(dotenv风格)+ 安全:
- .env 存敏感信息不入库;app.yml 用 ${KEY} 占位符引用;EnvLoader启动前加载
- 移除fastjson(规避0day),JSON改用Solon内置snack4
联调修复多个Solon实际API问题(配置文件名/YAML插件/打包/redisx/注解路径等)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+10
@@ -24,3 +24,13 @@
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
|
||||
# ---> IDE
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
# ---> 敏感配置(.env 不入库,.env.example 作为模板入库)
|
||||
.env
|
||||
|
||||
# ---> 构建产物
|
||||
target/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user