fix(audit-20261019): T1-T9 审计修复、存储归属与审计日志列宽
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s

- T1 资金/库存/报价/自采 P1(BIZ-1/2/3/4/10/13/14)
- T2 主系统反向事件墓碑/改派/孤儿处理(BIZ-6/8/9)
- T3 选分公司 ticket、trust proxy、角色权限收口(SEC-2/3/4)
- T4 缺列/RLS/tenant 名单/FK/迁移执行器(DATA-1..8)
- T5 401 登出/分页/映射口径/blob/ZIP 中文名(FE-1..4/BIZ-15)
- T6 测试脚本目标守卫/config fail-fast/容器配置(OPS-2..8)
- T7 前后端测试与 lint 门禁清零
- T8 应付卡片按关联订单日(口径 A)
- T9 存储对象全链路归属校验、敏感列禁写、审计 target_id 超长修复
This commit is contained in:
Ubuntu
2026-10-19 16:16:51 +08:00
parent 601a207b1e
commit 5fa2bbfd55
252 changed files with 18656 additions and 721 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
# 三端分离部署配置(局域网示例)
# 运行环境(必须显式:development|test|production)
NODE_ENV=production
# 复制为 .env.split 后修改 IP 为实际局域网地址
# 前端 Nginx
@@ -8,8 +10,8 @@ WEB_PORT=8080
API_PORT=3001
# 浏览器访问的后端地址(必须是局域网内其他设备也能访问的 IP)
API_PUBLIC_URL=http://192.168.0.100:3001
# 允许的前端来源,* 表示局域网调试方便;生产可改为 http://192.168.0.100:8080
CORS_ORIGINS=*
# 允许的前端来源(显式白名单;production 下 * 会被 fail-fast 拒绝)
CORS_ORIGINS=http://192.168.0.100:8080
# 数据库(独立容器,仅 API 内网访问)
POSTGRES_USER=supplier