fix(audit-20261019): T1-T9 审计修复、存储归属与审计日志列宽
- 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:
@@ -5,7 +5,16 @@
|
||||
|
||||
const { currentCycleCode } = require('./test-helpers.js');
|
||||
|
||||
const BASE = process.env.API_BASE || 'http://127.0.0.1:3001/api';
|
||||
const { guardTestTarget } = require('./test-target-guard.js');
|
||||
|
||||
// OPS-2:默认打本系统 API(3022),且非本机目标必须 API_BASE + ALLOW_REMOTE=1(TTY 确认)
|
||||
const DEFAULT_TEST_API_BASE = 'http://127.0.0.1:3022/api';
|
||||
const explicitApiBase = String(process.env.API_BASE || '').trim();
|
||||
const BASE = guardTestTarget({
|
||||
base: explicitApiBase || DEFAULT_TEST_API_BASE,
|
||||
explicit: Boolean(explicitApiBase),
|
||||
label: 'API_BASE',
|
||||
});
|
||||
const isLocalApi = BASE.includes('127.0.0.1') || BASE.includes('localhost');
|
||||
const OPERATING_BRANCH = process.env.E2E_TEST_BRANCH || process.env.OPERATING_BRANCH || 'BR002';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user