3311 lines
141 KiB
JSON
3311 lines
141 KiB
JSON
{
|
||
"module": "system",
|
||
"description": "系统接口标准入口,method 对应系统内置方法,全部使用 POST 请求,参数统一放在 body 内",
|
||
"version": "0.3.0",
|
||
"updatedAt": "2026-03-23",
|
||
"headers": [
|
||
{
|
||
"name": "platform",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "客户端平台标识,如 web/pda/app",
|
||
"list":[
|
||
{"value":"web","name":"网页端"},
|
||
{"value":"pda","name":"PDA端"},
|
||
{"value":"app","name":"APP端"},
|
||
{"value":"wx","name":"微信端"},
|
||
{"value":"miniProgram","name":"小程序端"},
|
||
{"value":"other","name":"其他"}
|
||
]
|
||
},
|
||
{
|
||
"type":"string",
|
||
"required":true,
|
||
"name":"project",
|
||
"description":"项目标识,如 all/warehouse/store/tms",
|
||
"list":[
|
||
{"value":"all","name":"全部"},
|
||
{"value":"warehouse","name":"仓库"},
|
||
{"value":"store","name":"货主"},
|
||
{"value":"tms","name":"物流"}
|
||
]
|
||
}
|
||
],
|
||
"methods": {
|
||
"groups": [
|
||
{
|
||
"groupName": "配置模块",
|
||
"module": "config",
|
||
"list": [
|
||
{
|
||
"method": "config.list",
|
||
"description": "config.list 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "看板模块",
|
||
"module": "dashboard",
|
||
"list": [
|
||
{
|
||
"method": "dashboard.storeStats",
|
||
"description": "dashboard.storeStats 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "dashboard.warehouseStats",
|
||
"description": "dashboard.warehouseStats 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "dashboard.hot_order_rank",
|
||
"description": "dashboard.hot_order_rank 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "dashboard.express_ratio",
|
||
"description": "dashboard.express_ratio 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "dashboard.platform_distribution",
|
||
"description": "dashboard.platform_distribution 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "dashboard.order_trend",
|
||
"description": "dashboard.order_trend 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "基础模块",
|
||
"module": "index",
|
||
"list": [
|
||
{
|
||
"method": "index.fastWhereTree",
|
||
"description": "index.fastWhereTree 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "type",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "type 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.loadStores",
|
||
"description": "index.loadStores 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.getCOSUploadConfig",
|
||
"description": "index.getCOSUploadConfig 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "data",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "data 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.getImages",
|
||
"description": "index.getImages 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.uploadSuccessNotify",
|
||
"description": "index.uploadSuccessNotify 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.ReferenceFile",
|
||
"description": "index.ReferenceFile 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.getMessageDetail",
|
||
"description": "index.getMessageDetail 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.getI18nMessage",
|
||
"description": "index.getI18nMessage 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": false,
|
||
"headers": [],
|
||
"params": [
|
||
{
|
||
"name": "language",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body|query",
|
||
"description": "language 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.putI18nCollect",
|
||
"description": "index.putI18nCollect 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": false,
|
||
"headers": [],
|
||
"params": [
|
||
{
|
||
"name": "keys",
|
||
"type": "array",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "keys 参数"
|
||
},
|
||
{
|
||
"name": "locale",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "locale 参数"
|
||
},
|
||
{
|
||
"name": "project",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "project 参数"
|
||
},
|
||
{
|
||
"name": "source",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "source 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.tryAutoTranslateNewKeys",
|
||
"description": "index.tryAutoTranslateNewKeys 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.searchSpace",
|
||
"description": "index.searchSpace 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "index.getExpressList",
|
||
"description": "index.getExpressList 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "订单模块",
|
||
"module": "order",
|
||
"list": [
|
||
{
|
||
"method": "order.getOrderModels",
|
||
"description": "order.getOrderModels 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.list",
|
||
"description": "分页查询订单列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.detail",
|
||
"description": "查询订单详情",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "delivery_order_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_order_code 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.listItems",
|
||
"description": "查询订单商品明细",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "delivery_order_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_order_code 参数"
|
||
},
|
||
{
|
||
"name": "order_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "order_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.stats",
|
||
"description": "订单统计",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.getreviewOrderlist",
|
||
"description": "分页查询订单审核列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,支持 inspection_status/operator_name/operate_time_start/operate_time_end"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.updateStatus",
|
||
"description": "更新订单状态",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "claim_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "claim_status 参数"
|
||
},
|
||
{
|
||
"name": "delivery_order_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_order_code 参数"
|
||
},
|
||
{
|
||
"name": "delivery_time",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_time 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "inspection_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "inspection_status 参数"
|
||
},
|
||
{
|
||
"name": "intercept_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "intercept_status 参数"
|
||
},
|
||
{
|
||
"name": "lock_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "lock_status 参数"
|
||
},
|
||
{
|
||
"name": "outbound_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "outbound_status 参数"
|
||
},
|
||
{
|
||
"name": "pack_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pack_status 参数"
|
||
},
|
||
{
|
||
"name": "pick_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pick_status 参数"
|
||
},
|
||
{
|
||
"name": "post_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "post_status 参数"
|
||
},
|
||
{
|
||
"name": "print_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "print_status 参数"
|
||
},
|
||
{
|
||
"name": "status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "status 参数"
|
||
},
|
||
{
|
||
"name": "storage_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "storage_status 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.updateDeliveryTime",
|
||
"description": "更新发货时间",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "delivery_time",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "delivery_time 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.reviewOrder",
|
||
"description": "订单审核",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "delivery_order_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_order_code 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "inspection_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "inspection_status 参数(兼容入参)"
|
||
},
|
||
{
|
||
"name": "review_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "review_status 参数,默认 fin"
|
||
},
|
||
{
|
||
"name": "operator_name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "operator_name 参数"
|
||
},
|
||
{
|
||
"name": "operate_time",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "operate_time 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.reviewOrder.getreviewOrderlist",
|
||
"description": "分页查询订单审核列表(目录化路由)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,支持 inspection_status/operator_name/operate_time_start/operate_time_end"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.reviewOrder.reviewOrder",
|
||
"description": "订单审核(目录化路由)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "delivery_order_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "delivery_order_code 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "inspection_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "inspection_status 参数(兼容入参)"
|
||
},
|
||
{
|
||
"name": "review_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "review_status 参数,默认 fin"
|
||
},
|
||
{
|
||
"name": "operator_name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "operator_name 参数"
|
||
},
|
||
{
|
||
"name": "operate_time",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "operate_time 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.deliveryOrder.getdeliveryOrderlist",
|
||
"description": "分页查询已进入出库流程的订单列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,默认 outbound_status != none"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.pendingOrder.getpendingOrderlist",
|
||
"description": "分页查询待处理订单列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,默认 status in [pedding, created] 且 outbound_status = none"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.expectionOrder.getexpectionOrderlist",
|
||
"description": "分页查询异常订单列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,默认筛选各流程 error 或拦截 exception"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "order.archiveOrder.getarchiveOrderlist",
|
||
"description": "分页查询归档订单列表(暂使用当前订单表完成态数据)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数,默认 outbound_status = fin"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "打印模块",
|
||
"module": "print",
|
||
"list": [
|
||
{
|
||
"method": "print.send",
|
||
"description": "print.send 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "computerId",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "computerId 参数"
|
||
},
|
||
{
|
||
"name": "count",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "count 参数"
|
||
},
|
||
{
|
||
"name": "data",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "data 参数"
|
||
},
|
||
{
|
||
"name": "printer",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "printer 参数"
|
||
},
|
||
{
|
||
"name": "template",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "template 参数"
|
||
},
|
||
{
|
||
"name": "timestamp",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "timestamp 参数"
|
||
},
|
||
{
|
||
"name": "type",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "type 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getPrintResult",
|
||
"description": "print.getPrintResult 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "printId",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "printId 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getPrintRecordItem",
|
||
"description": "print.getPrintRecordItem 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getList",
|
||
"description": "print.getList 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "page",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "page 参数"
|
||
},
|
||
{
|
||
"name": "pageSize",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pageSize 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getItem",
|
||
"description": "print.getItem 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.add",
|
||
"description": "print.add 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "computer_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "computer_id 参数"
|
||
},
|
||
{
|
||
"name": "name",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "name 参数"
|
||
},
|
||
{
|
||
"name": "custom_barcode",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "custom_barcode 参数"
|
||
},
|
||
{
|
||
"name": "default_printer_name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "default_printer_name 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.hasName",
|
||
"description": "print.hasName 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "name",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "name 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.updateItem",
|
||
"description": "print.updateItem 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "computer_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "computer_id 参数"
|
||
},
|
||
{
|
||
"name": "custom_barcode",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "custom_barcode 参数"
|
||
},
|
||
{
|
||
"name": "name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "name 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.del",
|
||
"description": "print.del 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "ids",
|
||
"type": "array",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "ids 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getComputer",
|
||
"description": "print.getComputer 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.getComputerPrinter",
|
||
"description": "print.getComputerPrinter 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "print.savePrinters",
|
||
"description": "print.savePrinters 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "defaultPrinter",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "defaultPrinter 参数"
|
||
},
|
||
{
|
||
"name": "express",
|
||
"type": "array",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "express 参数"
|
||
},
|
||
{
|
||
"name": "print_station_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "print_station_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "打印机站点模块",
|
||
"module": "printer.station",
|
||
"list": [
|
||
{
|
||
"method": "printer.station.list",
|
||
"description": "获取打印站点列表",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "打印模板模块",
|
||
"module": "setting.printTemplate",
|
||
"list": [
|
||
{
|
||
"method": "setting.printTemplate.list",
|
||
"description": "获取打印模板树",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "setting.printTemplate.save",
|
||
"description": "保存打印模板",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "setting.printTemplate.listTemplatesByType",
|
||
"description": "按业务类型查询模板",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "businessType",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "businessType 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "库存模块",
|
||
"module": "stock",
|
||
"list": [
|
||
{
|
||
"method": "stock.stockWarehouse",
|
||
"description": "stock.stockWarehouse 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getProhibitedType",
|
||
"description": "stock.getProhibitedType 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getInfo",
|
||
"description": "stock.getInfo 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.saveWarehouseStock",
|
||
"description": "stock.saveWarehouseStock 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.createWarehouseStock",
|
||
"description": "stock.createWarehouseStock 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getBarcodes",
|
||
"description": "stock.getBarcodes 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.saveWarehouseStockBarcode",
|
||
"description": "stock.saveWarehouseStockBarcode 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getStoreStocks",
|
||
"description": "stock.getStoreStocks 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.bindItem",
|
||
"description": "stock.bindItem 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.unbindItem",
|
||
"description": "stock.unbindItem 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.checkItemCodeUnique",
|
||
"description": "stock.checkItemCodeUnique 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "item_code",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "item_code 参数"
|
||
},
|
||
{
|
||
"name": "store_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "store_id 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.queryStockLogs",
|
||
"description": "stock.queryStockLogs 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "warehouseId",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "warehouseId 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.handleBatchDelete",
|
||
"description": "stock.handleBatchDelete 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.deleteUnit",
|
||
"description": "stock.deleteUnit 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.deleteProhibited",
|
||
"description": "stock.deleteProhibited 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.handleBatchChange",
|
||
"description": "stock.handleBatchChange 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getStockUnits",
|
||
"description": "stock.getStockUnits 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.getUnitList",
|
||
"description": "stock.getUnitList 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.createProhibited",
|
||
"description": "stock.createProhibited 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "name",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "name 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.createUnit",
|
||
"description": "stock.createUnit 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "name",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "name 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "stock.search",
|
||
"description": "stock.search 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "入库模块",
|
||
"module": "storage.receiving",
|
||
"list": [
|
||
{
|
||
"method": "storage.receiving.getReceivingList",
|
||
"description": "storage.receiving.getReceivingList 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "pagination",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "where 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.getReceivingDetail",
|
||
"description": "storage.receiving.getReceivingDetail 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.batchCancelReceiving",
|
||
"description": "storage.receiving.batchCancelReceiving 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.create",
|
||
"description": "storage.receiving.create 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.addItem",
|
||
"description": "storage.receiving.addItem 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "item",
|
||
"type": "object",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "item 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.removeItem",
|
||
"description": "storage.receiving.removeItem 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "item_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "item_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.saveReceiving",
|
||
"description": "storage.receiving.saveReceiving 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.get",
|
||
"description": "storage.receiving.get 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.addDetail",
|
||
"description": "storage.receiving.addDetail 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.deleteDetail",
|
||
"description": "storage.receiving.deleteDetail 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.detailChange",
|
||
"description": "storage.receiving.detailChange 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.cancel",
|
||
"description": "storage.receiving.cancel 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "storage.receiving.completeReceiving",
|
||
"description": "storage.receiving.completeReceiving 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "门店模块",
|
||
"module": "store",
|
||
"list": [
|
||
{
|
||
"method": "store.createStore",
|
||
"description": "store.createStore 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "store.createWarehouse",
|
||
"description": "store.createWarehouse 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "store.joinStore",
|
||
"description": "store.joinStore 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "store.joinWarehouse",
|
||
"description": "store.joinWarehouse 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "store.getStoreRoles",
|
||
"description": "store.getStoreRoles 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "code",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "申请码(join_token)"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "store.auditApply",
|
||
"description": "store.auditApply 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "audit_status",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "审核状态(approved/rejected)"
|
||
},
|
||
{
|
||
"name": "code",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "申请码(join_token)"
|
||
},
|
||
{
|
||
"name": "store_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "当前审批门店ID"
|
||
},
|
||
{
|
||
"name": "role_ids",
|
||
"type": "array",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "分配角色ID数组"
|
||
},
|
||
{
|
||
"name": "reject_reason",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "拒绝原因(audit_status=rejected 时可传)"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "用户模块",
|
||
"module": "user",
|
||
"list": [
|
||
{
|
||
"method": "user.login",
|
||
"description": "用户登录(仅返回 token)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": false,
|
||
"headers": [],
|
||
"params": [
|
||
{
|
||
"name": "password",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "password 参数"
|
||
},
|
||
{
|
||
"name": "username",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "username 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.loginByCode",
|
||
"description": "登录码登录(使用 ye4s_user.tmp_code)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": false,
|
||
"headers": [],
|
||
"params": [
|
||
{
|
||
"name": "code",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "登录码,对应 ye4s_user.tmp_code"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.getBindWechatCode",
|
||
"description": "获取微信绑定码(支持轮询,缓存优先)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "forceRefresh",
|
||
"type": "boolean",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "是否强制刷新状态,true 时跳过缓存等待窗口"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.unbindWechat",
|
||
"description": "解绑微信账号(清理 ye4s 关联账号数据)",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.logout",
|
||
"description": "用户登出",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.info",
|
||
"description": "获取当前用户信息",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.changeRole",
|
||
"description": "user.changeRole 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "user.register",
|
||
"description": "user.register 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": false,
|
||
"headers": [],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"groupName": "仓库模块",
|
||
"module": "warehouse",
|
||
"list": [
|
||
{
|
||
"method": "warehouse.getWarehouseZones",
|
||
"description": "warehouse.getWarehouseZones 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getWarehouseTree",
|
||
"description": "warehouse.getWarehouseTree 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "warehouseId",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "warehouseId 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getChildren",
|
||
"description": "warehouse.getChildren 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "zoneId",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "zoneId 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.create",
|
||
"description": "warehouse.create 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.update",
|
||
"description": "warehouse.update 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "aisles",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "aisles 参数"
|
||
},
|
||
{
|
||
"name": "cell_height",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "cell_height 参数"
|
||
},
|
||
{
|
||
"name": "cell_length",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "cell_length 参数"
|
||
},
|
||
{
|
||
"name": "cell_width",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "cell_width 参数"
|
||
},
|
||
{
|
||
"name": "direction",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "direction 参数"
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "height 参数"
|
||
},
|
||
{
|
||
"name": "length",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "length 参数"
|
||
},
|
||
{
|
||
"name": "rack_columns",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "rack_columns 参数"
|
||
},
|
||
{
|
||
"name": "rack_levels",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "rack_levels 参数"
|
||
},
|
||
{
|
||
"name": "rack_rows",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "rack_rows 参数"
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "width 参数"
|
||
},
|
||
{
|
||
"name": "x",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "x 参数"
|
||
},
|
||
{
|
||
"name": "y",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "y 参数"
|
||
},
|
||
{
|
||
"name": "z",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "z 参数"
|
||
},
|
||
{
|
||
"name": "zone_code",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "zone_code 参数"
|
||
},
|
||
{
|
||
"name": "zone_name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "zone_name 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.delete",
|
||
"description": "warehouse.delete 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.detail",
|
||
"description": "warehouse.detail 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.checkBarcodeUnique",
|
||
"description": "warehouse.checkBarcodeUnique 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "barcode",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "barcode 参数"
|
||
},
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.toggleActive",
|
||
"description": "warehouse.toggleActive 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "isActive",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "isActive 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getPath",
|
||
"description": "warehouse.getPath 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.createRack",
|
||
"description": "warehouse.createRack 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "height",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "height 参数"
|
||
},
|
||
{
|
||
"name": "length",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "length 参数"
|
||
},
|
||
{
|
||
"name": "rack_columns",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "rack_columns 参数"
|
||
},
|
||
{
|
||
"name": "rack_levels",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "rack_levels 参数"
|
||
},
|
||
{
|
||
"name": "rack_rows",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "rack_rows 参数"
|
||
},
|
||
{
|
||
"name": "warehouse_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "warehouse_id 参数"
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "width 参数"
|
||
},
|
||
{
|
||
"name": "x",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "x 参数"
|
||
},
|
||
{
|
||
"name": "y",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "y 参数"
|
||
},
|
||
{
|
||
"name": "zone_code",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "zone_code 参数"
|
||
},
|
||
{
|
||
"name": "zone_name",
|
||
"type": "string",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "zone_name 参数"
|
||
},
|
||
{
|
||
"name": "color",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "color 参数"
|
||
},
|
||
{
|
||
"name": "direction",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "direction 参数"
|
||
},
|
||
{
|
||
"name": "parent_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "parent_id 参数"
|
||
},
|
||
{
|
||
"name": "z",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "z 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getPickPath",
|
||
"description": "warehouse.getPickPath 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "warehouse_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "query",
|
||
"description": "warehouse_id 参数"
|
||
},
|
||
{
|
||
"name": "include_spaces",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "query",
|
||
"description": "include_spaces 参数"
|
||
},
|
||
{
|
||
"name": "limit",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "query",
|
||
"description": "limit 参数"
|
||
},
|
||
{
|
||
"name": "sort_by",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "query",
|
||
"description": "sort_by 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.updateRackPosition",
|
||
"description": "warehouse.updateRackPosition 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "x",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "x 参数"
|
||
},
|
||
{
|
||
"name": "y",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "y 参数"
|
||
},
|
||
{
|
||
"name": "rack_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "path",
|
||
"description": "rack_id 参数"
|
||
},
|
||
{
|
||
"name": "z",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "z 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.recalculatePickPath",
|
||
"description": "warehouse.recalculatePickPath 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "warehouse_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "warehouse_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.updateNeighbors",
|
||
"description": "warehouse.updateNeighbors 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "warehouse_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "warehouse_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getAreaRacks",
|
||
"description": "warehouse.getAreaRacks 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "area_id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "query",
|
||
"description": "area_id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getSpacesByRack",
|
||
"description": "warehouse.getSpacesByRack 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.createRackWithSpaces",
|
||
"description": "warehouse.createRackWithSpaces 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.getSpaceInfo",
|
||
"description": "warehouse.getSpaceInfo 接口",
|
||
"isNeedAuth": false,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
},
|
||
{
|
||
"method": "warehouse.updateSpaceInfo",
|
||
"description": "warehouse.updateSpaceInfo 接口",
|
||
"isNeedAuth": true,
|
||
"isNeedLogin": true,
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [
|
||
{
|
||
"name": "id",
|
||
"type": "number",
|
||
"required": true,
|
||
"source": "body",
|
||
"description": "id 参数"
|
||
},
|
||
{
|
||
"name": "custom_barcode",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "custom_barcode 参数"
|
||
},
|
||
{
|
||
"name": "custom_name",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "custom_name 参数"
|
||
},
|
||
{
|
||
"name": "location_type_id",
|
||
"type": "number",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "location_type_id 参数"
|
||
},
|
||
{
|
||
"name": "pick_sequence",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "pick_sequence 参数"
|
||
},
|
||
{
|
||
"name": "space_status",
|
||
"type": "string",
|
||
"required": false,
|
||
"source": "body",
|
||
"description": "space_status 参数"
|
||
}
|
||
],
|
||
"response": [],
|
||
"errors": []
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
} |