{ "date": "2026-07-04", "version": "1.0.0", "changes": [ { "method": "order.pendingOrder.syncOrderIds", "type": "modified", "description": "同步待处理订单由同步模式改为异步模式。提交后立即返回 request_id,后台通过 setImmediate 异步执行同步流程。调用方需通过 syncOrderIdsProgress 接口轮询进度。单订单失败静默写入 error 状态,不影响整批结果。已同步(fin)或处理中(padding)的订单自动跳过防重复。", "breaking": true, "migration": { "before": "POST 同步调用,等待全部订单处理完成后返回完整结果", "after": "POST 同步调用,立即返回 request_id;GET/POST syncOrderIdsProgress 轮询最终结果", "response_change": "原返回 data 对象(含 warehouse_id / dispatch_results 等),现返回 request_id + warehouse_id + message" } }, { "method": "order.pendingOrder.syncOrderIdsProgress", "type": "added", "description": "新增接口,用于查询 syncOrderIds 异步任务的进度与最终结果。入参 request_id,返回 status / progress / total_count / processed_count / result 等。", "breaking": false } ], "affected_files": [ "app/service/systemMethods/order/pendingOrder.js", "app/service/systems/order_storage_allocation.js", "methods/system.json", "test/app/service/systemMethods/order/pendingOrder.syncOrderIds.test.js" ] }