对照生产抓包修复发货链路:BFF 地址、上游单号取值与直判交付

- DELIVERY_BFF_BASE_URL 默认改为 https://www.jxya.top/bff(生产实际路径,非 bff-stg)
- provider_order_no 取值优先级调整为 order_no/_id/id/order_sn:抓包确认 order_sn 为平台单号回显,上游真实单号是 _id
- 上游创建订单响应 status=FINISHED 或 send_status=SUCCESS 时订单直接置为 delivered,无需等待 ship-notify
- 同步更新单测(mock 上游返回 _id/order_sn/FINISHED/SUCCESS)
This commit is contained in:
yml2213
2026-08-03 13:06:43 +08:00
parent 8dc2a4077a
commit 6eb05b322c
5 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ OPEN_SIGN_SKEW=300
OPEN_API_DEBUG=false
LOG_FILE=logs/app.log
DELIVERY_BASE_URL=
DELIVERY_BFF_BASE_URL=https://www.jxya.top/bff-stg
DELIVERY_BFF_BASE_URL=https://www.jxya.top/bff
DELIVERY_CHANNEL=dlc
DELIVERY_LINK_SECRET=change_me_for_delivery_link_sign
DELIVERY_LINK_TTL_MINUTES=120