文档
测试

用料列表

POST
http://leave2.com/sideorder/api/Menu/getMenuDetailList

请求头

参数名
类型
描述
必填
Authorization
V1BkWXloemU0clFEc1k2TXVvc005WDBsSElmVDhqeWFzaEFTRmRQa3dndXIzVWZPRW1WQnhRWmtEZ1MtdnFFZ2RuT0hJYlpVQlh4cEJLZj09WlJmdmhnPUJlVHR4bGVUNElBcklybWxFVlhLTw%3D%3D%3D%3D
必填

请求参数

参数名
类型
描述
必填
id
菜单id
必填
user_type
用户对象
必填

响应参数

参数名
类型
描述
必填
dishs
必填
dish_id
菜品id
必填
dish_title
菜品名称
必填
details
配料列表
必填
burden_id
配料id
必填
burden_title
配料名称
必填
burden_count
人均数量
必填
burden_unit
单位
必填
people_num
总人数
必填
total_count
合计
必填
total
必填
burden_title
配料名称
必填
burden_unit
单位
必填
total_count
合计
必填
price
单价
必填
total_price
总价
必填

说明 / 示例

**{ "status": 0, "msg": "操作成功", "datas": { "dishs": [ { "dish_title": "红烧肉", "dish_id": "96", "details": [ { "dish_id": "96", "dish_title": "红烧肉", "burden_id": null, "burden_title": null, "burden_count": null, "burden_unit": null, "people_num": null, "total_count": null } ] }, { "dish_title": "空心菜", "dish_id": "95", "details": [ { "dish_id": "95", "dish_title": "空心菜", "burden_id": "87", "burden_title": "空心菜", "burden_count": "1.00", "burden_unit": "斤", "people_num": "200", "total_count": "200.00" }, { "dish_id": "95", "dish_title": "空心菜", "burden_id": "88", "burden_title": "花椒", "burden_count": "2.00", "burden_unit": "斤", "people_num": "200", "total_count": "400.00" }, { "dish_id": "95", "dish_title": "空心菜", "burden_id": "89", "burden_title": "肉末", "burden_count": "3.00", "burden_unit": "斤", "people_num": "200", "total_count": "600.00" } ] } ], "total": [ { "burden_id": null, "burden_title": null, "burden_unit": null, "burden_price": null, "total_count": null, "total_price": null }, { "burden_id": "87", "burden_title": "空心菜", "burden_unit": "斤", "burden_price": "11.00", "total_count": "200.00", "total_price": "2200.00" }, { "burden_id": "88", "burden_title": "花椒", "burden_unit": "斤", "burden_price": "20.00", "total_count": "400.00", "total_price": "8000.00" }, { "burden_id": "89", "burden_title": "肉末", "burden_unit": "斤", "burden_price": "30.00", "total_count": "600.00", "total_price": "18000.00" } ] } }**