feat: 完成初版拼多多订单同步

This commit is contained in:
2026-08-04 16:43:29 +08:00
parent 4aa76cefdf
commit 02cd54ca5c
36 changed files with 2442 additions and 86 deletions
@@ -133,6 +133,46 @@ pdd:
redirect-uri: https://ecbi.newloop.top/api-dev/ec/pdd/auth/callback
authorize-url: https://fuwu.pinduoduo.com/service-market/auth
state-ttl-seconds: 600
# POP 出站公共配置(限流、默认分页);业务同步配置见 order-sync
pop:
default-page-size: 100
rate-limit:
enabled: true
acquire-wait-ms: 5000
# 平台频控被动退避:2s → 5s → 15s
backoff-ms: [2000, 5000, 15000]
# 保守默认(约官方上限 60% 店铺余量 + 本 ISV 短窗);可按接口覆盖
default-rule:
shop-limit: 6000
shop-window-seconds: 60
app-burst-limit: 800
app-burst-window-seconds: 10
apis:
pdd.order.list.get:
shop-limit: 6000
shop-window-seconds: 60
app-burst-limit: 800
app-burst-window-seconds: 10
pdd.order.number.list.increment.get:
shop-limit: 6000
shop-window-seconds: 60
app-burst-limit: 800
app-burst-window-seconds: 10
pdd.order.information.get:
shop-limit: 6000
shop-window-seconds: 60
app-burst-limit: 800
app-burst-window-seconds: 10
pdd.mall.info.get:
shop-limit: 6000
shop-window-seconds: 60
app-burst-limit: 800
app-burst-window-seconds: 10
order-sync:
overlap-seconds: 120
lock-ttl-seconds: 600
incremental-job-enabled: true
incremental-cron: "0 */5 * * * ?"
# License 授权(开关与公钥见 LicenseEnforcement 源码硬编码)
ecom: