feat: 快递100上门取件集成(SDS运单自动生成+面单回传)
- api/kuaidi100: 上门取件API客户端(bOrder/price/cancel/detail,MD5签名封装) - api/sds: 变体克重(children接口,24h缓存)/面单PDF上传/挂包裹/carriageNoStatus筛选 - flows/sds/waybill_autogen: 每10分钟遍历运单待生成订单(factoryIds+carriageNoStatus+orderStatusCode) 自动下极兔(returnType=20+tempid出面单),面单回调转PDF回传SDS; 幂等跳过已有运单;面单超时不自动取消(记人工跟进);schedule 默认 active:false - scripts: 手动E2E测试脚本 + 回调接收服务(验签MD5(param+salt)+JSONL落盘,配frpc 18090穿透) - 依赖 +pillow(面单PNG转PDF)
This commit is contained in:
@@ -82,6 +82,14 @@ deployments:
|
||||
timezone: Asia/Shanghai
|
||||
work_pool:
|
||||
name: inkreach-pool
|
||||
- name: sds-waybill-autogen
|
||||
entrypoint: flows/sds/waybill_autogen.py:waybill_autogen
|
||||
schedules:
|
||||
- cron: '*/10 * * * *'
|
||||
timezone: Asia/Shanghai
|
||||
active: false # 暂停:真实下单 flow(极兔+面单回传)。链路人工核对后改 true 并 `uv run prefect deploy --all` 生效
|
||||
work_pool:
|
||||
name: inkreach-pool
|
||||
- name: platform-order-riin
|
||||
entrypoint: flows/platform_order/riin.py:riin_platform_sync
|
||||
schedules:
|
||||
|
||||
Reference in New Issue
Block a user