You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.3 KiB
81 lines
1.3 KiB
1 year ago
|
# 大屏展示
|
||
|
|
||
|
# 1. 查询今日食谱列表(大屏显示)
|
||
|
|
||
|
> GET /api/menu/display
|
||
|
|
||
|
### 输出:
|
||
|
~~~json
|
||
|
{
|
||
|
"body": [
|
||
|
{"id": 1, "name": "食谱名字"}
|
||
|
],
|
||
|
"code": 200,
|
||
|
"desc": "成功",
|
||
|
"success": true
|
||
|
}
|
||
|
~~~
|
||
|
|
||
|
# 2. 查询今日带量菜品(大屏显示)
|
||
|
|
||
|
> GET /api/menu/display?menuId=1
|
||
|
|
||
|
### 输出:
|
||
|
~~~json
|
||
|
{
|
||
|
"body": [
|
||
|
{
|
||
|
"day": 1,
|
||
|
"dish": 1,
|
||
|
"id": 1,
|
||
|
"ingredient": [
|
||
|
{
|
||
|
"isMain": true,
|
||
|
"key": "011101",
|
||
|
"value": {
|
||
|
"轻体力": 500,
|
||
|
"重体力": 300
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"isMain": false,
|
||
|
"key": "2101001",
|
||
|
"value": {
|
||
|
"轻体力": 500,
|
||
|
"重体力": 300
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"marks": "主食",
|
||
|
"poly": "蒸",
|
||
|
"meal": "早餐",
|
||
|
"menu": 1,
|
||
|
"name": "番茄炒蛋",
|
||
|
"vender": 1
|
||
|
},
|
||
|
{
|
||
|
"day": 1,
|
||
|
"dish": 2,
|
||
|
"id": 3,
|
||
|
"ingredient": [
|
||
|
{
|
||
|
"isMain": true,
|
||
|
"key": "011101",
|
||
|
"value": {
|
||
|
"轻体力": 500,
|
||
|
"重体力": 300
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"marks": "主食",
|
||
|
"poly": "蒸",
|
||
|
"meal": "早餐",
|
||
|
"menu": 1,
|
||
|
"name": "番茄炒鸡蛋",
|
||
|
"vender": 1
|
||
|
}
|
||
|
],
|
||
|
"code": 200,
|
||
|
"desc": "成功",
|
||
|
"success": true
|
||
|
}
|