feat:dish depot

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-01-14 17:04:48 +08:00
parent 99b95b76e9
commit 6b38a6b732
11 changed files with 523 additions and 0 deletions

View File

@@ -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}}