166 lines
4.2 KiB
JSON
166 lines
4.2 KiB
JSON
{
|
||
"generatedAt": "2026-05-20 16:44:18",
|
||
"generatedAtLocal": "2026-05-20 16:44:18",
|
||
"source": "remote",
|
||
"filter": {
|
||
"platform": {
|
||
"value": "web",
|
||
"label": "网页端"
|
||
},
|
||
"project": {
|
||
"value": "all",
|
||
"label": "全部"
|
||
}
|
||
},
|
||
"module": {
|
||
"name": "订单复核模块",
|
||
"key": "order.recheckOrder",
|
||
"folder": "order.recheckorder",
|
||
"interfaceCount": 2
|
||
},
|
||
"changes": {
|
||
"fromPreviousSnapshot": {
|
||
"moduleAdded": false,
|
||
"moduleRenamed": false,
|
||
"interfaceChanges": {
|
||
"addedMethods": [],
|
||
"deletedMethods": [],
|
||
"paramsUpdatedMethods": [
|
||
"order.recheckOrder.confirmRecheck"
|
||
],
|
||
"responseUpdatedMethods": [
|
||
"order.recheckOrder.scanWaybill"
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"interfaces": [
|
||
{
|
||
"method": "order.recheckOrder.scanWaybill",
|
||
"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": "waybill_no / waybillCode / waybill_code",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "运单号;支持别名 waybillCode、waybill_code"
|
||
}
|
||
],
|
||
"response": [
|
||
{
|
||
"name": "order_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"description": "准确的订单 ID(供 confirmRecheck 使用)"
|
||
},
|
||
{
|
||
"name": "waybill_no",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "匹配到的运单号"
|
||
},
|
||
{
|
||
"name": "order",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "订单头对象"
|
||
},
|
||
{
|
||
"name": "items",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "订单商品明细"
|
||
},
|
||
{
|
||
"name": "expresses",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "运单信息数组"
|
||
},
|
||
{
|
||
"name": "logs",
|
||
"type": "array",
|
||
"required": false,
|
||
"description": "相关操作日志"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"method": "order.recheckOrder.confirmRecheck",
|
||
"title": "按订单 ID 确认复核并记录复核任务到 wms_recheck_task(入参兼容 id/orderId)",
|
||
"description": "按订单 ID 确认复核并记录复核任务到 wms_recheck_task(入参兼容 id/orderId)",
|
||
"endpoint": "/system",
|
||
"authRequired": false,
|
||
"loginRequired": true,
|
||
"status": {
|
||
"isUsed": false,
|
||
"isPlaceholder": false
|
||
},
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "order_id / id / orderId",
|
||
"type": "string|number",
|
||
"required": true,
|
||
"description": "订单 ID;优先使用 order_id,兼容别名 id 与 orderId"
|
||
}
|
||
],
|
||
"response": [
|
||
{
|
||
"name": "order_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"description": "订单 ID"
|
||
},
|
||
{
|
||
"name": "waybill_no",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "运单号"
|
||
},
|
||
{
|
||
"name": "recheck_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "复核结果状态"
|
||
},
|
||
{
|
||
"name": "recheck_time",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "复核时间(ISO 字符串)"
|
||
},
|
||
{
|
||
"name": "review_no",
|
||
"type": "string",
|
||
"required": false,
|
||
"description": "复核任务编号"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|