文档
测试

获取菜品库存

POST
http://1.15.80.200:8080/branch/prod/getProdMaxQuantitys

接口描述

获取菜谱库存(可接)

请求头

参数名
类型
描述
必填
Authorization
string
Bearer token令牌
必填

响应参数

参数名
类型
描述
必填
msg
string
请求结果消息
必填
code
string
请求结果状态码
必填
data
object
返回结果业务对象
必填
menuId
string
菜谱编号
必填
dishType
string
商品类型 0.单品 1.套餐
必填
prodId
string
菜品编号
必填
dishId
string
商品编号
必填
standardId
string
规格编号:没有规格的单品规格编号为0 套餐规格编号为0
必填
maxQuantity
string
库存数
必填

返回示例

```json { "code": 200, "msg": null, "data": [ { "menuId": "1407265004743651328", "dishType": "1", "dishId": "1417672457072422912", "prodId": "1425653708104785920", "standardId": "0", "maxQuantity": "1", "mapKey": "1425653708104785920-1417672457072422912-0" }, { "menuId": "1407265004743651328", "dishType": "0", "dishId": "1417672212729049088", "prodId": "1425654385468104704", "standardId": "0", "maxQuantity": "3", "mapKey": "1425654385468104704-1417672212729049088-0" } ] } ```