2026-04-18 20:52:27 +08:00

104 lines
3.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"generatedAt": "2026-04-18 19:40:53",
"generatedAtLocal": "2026-04-18 19:40:53",
"source": "remote",
"filter": {
"platform": {
"value": "web",
"label": "网页端"
},
"project": {
"value": "all",
"label": "全部"
}
},
"module": {
"name": "订单储位分配模块",
"key": "order.storageAllocation",
"folder": "order.storageallocation",
"interfaceCount": 1
},
"changes": {
"fromPreviousSnapshot": {
"moduleAdded": true,
"moduleRenamed": false,
"interfaceChanges": {
"addedMethods": [
"order.storageAllocation.allocateStorage"
],
"deletedMethods": [],
"paramsUpdatedMethods": [],
"responseUpdatedMethods": []
}
}
},
"interfaces": [
{
"method": "order.storageAllocation.allocateStorage",
"title": "按订单批量分配储位:将订单明细按优先级分配到库位并写入 wms_picking,支持存储位优先/分拣位优先策略与部分分配并标记异常。",
"description": "按订单批量分配储位:将订单明细按优先级分配到库位并写入 wms_picking,支持存储位优先/分拣位优先策略与部分分配并标记异常。",
"endpoint": "/system",
"authRequired": false,
"loginRequired": true,
"status": {
"isUsed": false,
"isPlaceholder": false
},
"headers": [
{
"name": "Authorization",
"type": "string",
"required": true,
"description": "Bearer token"
}
],
"params": [
{
"name": "allow_storage_location / allowStorageLocation / is_allow_storage / isAllowStorage",
"type": "boolean",
"required": false,
"description": "是否允许使用存储储位,支持多种字段别名。"
},
{
"name": "order_ids / orderIds / ids / order_id / orderId / id",
"type": "array|string|number",
"required": true,
"description": "订单 ID 列表,支持数组、逗号分隔字符串或单个 ID(兼容多种别名)。"
},
{
"name": "warehouse_id / warehouseId",
"type": "number",
"required": false,
"description": "仓库 ID(可选),未传时使用当前登录上下文的仓库。"
}
],
"response": [
{
"name": "flag",
"type": "string",
"required": true,
"description": "全局调用结果标识,成功为 success。"
},
{
"name": "code",
"type": "number",
"required": true,
"description": "业务状态码,200 表示成功。"
},
{
"name": "message",
"type": "string",
"required": true,
"description": "提示信息,成功或部分成功时给出人类可读的摘要。"
},
{
"name": "data",
"type": "object",
"required": true,
"description": "分配结果汇总对象,包含以下字段"
}
]
}
]
}