feat:dish
This commit is contained in:
@@ -276,11 +276,6 @@ GET {{host}}/admin/member/list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 排菜列表
|
||||
GET {{host}}/admin/dish/list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 仓库列表
|
||||
GET {{host}}/admin/depot/depot_list?limit=10
|
||||
content-type: application/json
|
||||
@@ -394,5 +389,28 @@ POST {{host}}/admin/depot/depot_purchase_update
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=1&number=8
|
||||
id=1&number=9
|
||||
|
||||
### 排菜列表
|
||||
GET {{host}}/admin/dish/list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 厨师添加菜品
|
||||
POST {{host}}/api/dish/add
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
dish_name=排骨饭&profile=加水&pre_quantity=500&price=15&side_dish=33333&flavor=清淡&cycle_id=1&city_id=1&kitchen_id=1
|
||||
|
||||
### 厨师修改菜品
|
||||
POST {{host}}/api/dish/edit
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=1&pre_quantity=300&price=12
|
||||
|
||||
### 厨师查看排菜
|
||||
GET {{host}}/api/dish/list?limit=10
|
||||
content-type: application/json
|
||||
Authorization: Bearer {{admin_token}}
|
||||
Reference in New Issue
Block a user