156 lines
4.2 KiB
JSON
156 lines
4.2 KiB
JSON
{
|
||
"generatedAt": "2026-06-03 17:54:37",
|
||
"generatedAtLocal": "2026-06-03 17:54:37",
|
||
"source": "remote",
|
||
"filter": {
|
||
"platform": {
|
||
"value": "web",
|
||
"label": "网页端"
|
||
},
|
||
"project": {
|
||
"value": "all",
|
||
"label": "全部"
|
||
}
|
||
},
|
||
"module": {
|
||
"name": "订单配送模块",
|
||
"key": "order.deliveryOrder",
|
||
"folder": "order.deliveryorder",
|
||
"interfaceCount": 2
|
||
},
|
||
"changes": {
|
||
"fromPreviousSnapshot": {
|
||
"moduleAdded": false,
|
||
"moduleRenamed": false,
|
||
"interfaceChanges": {
|
||
"addedMethods": [],
|
||
"deletedMethods": [],
|
||
"paramsUpdatedMethods": [],
|
||
"responseUpdatedMethods": []
|
||
}
|
||
}
|
||
},
|
||
"interfaces": [
|
||
{
|
||
"method": "order.deliveryOrder.list",
|
||
"title": "配送订单列表,使用 dispatch 模型,默认筛选 dispatch_lane=m4。",
|
||
"description": "配送订单列表,使用 dispatch 模型,默认筛选 dispatch_lane=m4。",
|
||
"endpoint": "/system",
|
||
"authRequired": false,
|
||
"loginRequired": true,
|
||
"status": {
|
||
"isUsed": false,
|
||
"isPlaceholder": false
|
||
},
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "分页参数,支持 page / pageSize"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "统一 where 条件对象;禁止传入 warehouse_id / warehouseId。"
|
||
},
|
||
{
|
||
"name": "sort",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "排序参数,支持 sortField / sortOrder"
|
||
}
|
||
],
|
||
"response": [
|
||
{
|
||
"name": "list",
|
||
"type": "array",
|
||
"required": true,
|
||
"description": "订单列表(raw 行数据,字段字典见 docs/order-workbench-list-api.md 中的“订单列表 raw 字段字典”章节)"
|
||
},
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": true,
|
||
"description": "分页信息"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"method": "order.deliveryOrder.detail",
|
||
"title": "查询单个订单详情,返回订单头、商品明细和运单信息",
|
||
"description": "查询单个订单详情,返回订单头、商品明细和运单信息",
|
||
"endpoint": "/system",
|
||
"authRequired": false,
|
||
"loginRequired": true,
|
||
"status": {
|
||
"isUsed": false,
|
||
"isPlaceholder": false
|
||
},
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "ids / id / order_id / orderId",
|
||
"type": "array|string|number",
|
||
"required": true,
|
||
"description": "订单ID;支持 ids 数组、逗号分隔字符串或单个 id/order_id,至少提供一项"
|
||
},
|
||
{
|
||
"name": "tableType / tablePosition / type / moduleName",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "可选,指定订单表类型,支持 current/history/dispatch/outsourced/order/revieworder/pendingorder 等"
|
||
}
|
||
],
|
||
"response": [
|
||
{
|
||
"name": "order",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "订单头对象(raw 行数据)"
|
||
},
|
||
{
|
||
"name": "detail",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "等同于 order"
|
||
},
|
||
{
|
||
"name": "orderItems / items",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "商品明细数组"
|
||
},
|
||
{
|
||
"name": "expresses",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "运单信息数组"
|
||
},
|
||
{
|
||
"name": "waybill_codes",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "去重后的运单号字符串数组"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|