66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
{
|
||
"stock.warehouse.list": {
|
||
"method": "stock.warehouse.list",
|
||
"title": "仓库商品列表查询(支持 where 条件与分页)",
|
||
"description": "仓库商品列表查询(支持 where 条件与分页)",
|
||
"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": "pagination 参数"
|
||
},
|
||
{
|
||
"name": "where",
|
||
"type": "object",
|
||
"required": false,
|
||
"description": "统一 where 条件对象;推荐使用 { operator, value, type } 标准结构,历史简写会在 main 中自动标准化;支持 quickWhere、barcode、prohibited_type、has_bound_item 等商品筛选字段。示例:where.barcode={operator:like,value:69}; where.prohibited_type={operator:eq,value:liquid}; where.has_bound_item={operator:eq,value:true}(已绑定外部商品)/ where.has_bound_item={operator:eq,value:false}(未绑定外部商品)。"
|
||
}
|
||
],
|
||
"response": []
|
||
},
|
||
"stock.warehouse.getInfo": {
|
||
"method": "stock.warehouse.getInfo",
|
||
"title": "查询仓库商品详情",
|
||
"description": "查询仓库商品详情",
|
||
"endpoint": "/system",
|
||
"authRequired": false,
|
||
"loginRequired": true,
|
||
"status": {
|
||
"isUsed": false,
|
||
"isPlaceholder": false
|
||
},
|
||
"headers": [
|
||
{
|
||
"name": "Authorization",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "Bearer token"
|
||
}
|
||
],
|
||
"params": [],
|
||
"response": [
|
||
{
|
||
"name": "need_recheck",
|
||
"type": "string",
|
||
"required": true,
|
||
"description": "是否需要复核:Y=需要复核,N=不需要复核"
|
||
}
|
||
]
|
||
}
|
||
} |