liufumingren a15c877f04 fix(order): API 渠道订单同步改为先回传确认、成功后再扣减库存
- 删除 notifyApiDeliveryOrderConfirmsInternal(原「同步完成后 fire-and-forget
  逐单回调、失败仅 warn」),新增 processApiOrderInternal 在同一个分发循环内逐单
  处理:组装 deliveryorder.confirm 报文 → 解析发送用 appKey → sendByAppKey
  (最多 4 次尝试)→ 回调成功才扣减库存并置 sync_status='fin'
- 新增 markApiSyncFailedInternal:回调失败/异常、报文组装配不上货主编码、
  解析不到 appKey 等一律置 sync_status='error' + 待处理异常,不扣减库存、不置
  fin,订单可重新派发(分发前过滤仅跳过 fin)
- 解析不到 appKey 的订单不再静默跳过,改为按失败处理
- 同步 docs/openapi-callback-events.md、methods/openapi_callback.json 与
  methods/changes/openapi_callback.json
2026-09-15 16:18:32 +08:00
..
1
2026-06-06 05:15:46 +08:00
1
2026-07-01 14:00:59 +08:00
1
2026-06-23 18:48:33 +08:00
2026-03-16 14:01:22 +08:00
2026-04-09 01:36:49 +08:00
ok
2026-04-11 17:09:06 +08:00
2026-04-17 19:21:57 +08:00
1
2026-06-17 01:18:55 +08:00
1
2026-04-30 19:20:31 +08:00
2026-04-09 01:36:49 +08:00