liufumingren
095891636e
fix(order-audit): 审核不再回查店管家,改为纯本地校验
按用户要求:审核(待审核 / 异常 → 待推送)只做本地校验(状态、明细、店铺、仓库)与库存锁定,
不再逐单请求外部打单平台确认「是否已发货」。那批外部请求会把 20 单的审核拖到 8~13 秒、
50 单约 25 秒,顶穿前端 axios 15 秒超时(nginx 大量 499)。
- orderStatus:移除 _auditOne 的平台守卫,以及 _precheckPlatformFinished /
_guardPlatformFinished / _checkPlatformFinished / _applyPlatformGuard
- externalPrintOrder:移除只为该守卫服务的 checkPlatformFinished / checkPlatformFinishedBatch /
_resolvePlatformCheckTarget / _describePlatformCheck,以及配套常量与时间预算
- 删除对应测试;文档 6.4 改写为「审核不回查平台」,说明平台状态现在由拉单核对(6.3)
与推送取号链路暴露
- 保留 dgj traceId 进程级缓存(取号 / 重打 / 拉单链路仍受益)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>