feat:dish depot
This commit is contained in:
@@ -276,3 +276,31 @@ 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
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
### 仓库添加
|
||||
POST {{host}}/admin/depot/depot_add
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
name=蔬菜仓库&city_id=1&kitchen_id=1
|
||||
|
||||
### 仓库修改信息
|
||||
POST {{host}}/admin/depot/depot_edit
|
||||
content-type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
id=2&name=冻品仓库&city_id=1&kitchen_id=1
|
||||
|
||||
### 仓库删除
|
||||
GET {{host}}/admin/depot/depot_delete?id=2
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
Reference in New Issue
Block a user