feat:depot_recycle

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-08 17:57:37 +08:00
parent 0c34080d92
commit 22dd466254
7 changed files with 300 additions and 4 deletions

View File

@@ -470,3 +470,27 @@ GET {{host}}/admin/depot/sale_list?limit=10&query_kitchen_id=1
content-type: application/json
Authorization: Bearer {{admin_token}}
### 管理员回收商品
POST {{host}}/admin/depot/depot_recycle
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{admin_token}}
material_id=1&supplier_id=1&number=1&sale_id=2&city_id=1&kitchen_id=1
### 管理员修改回收数量
POST {{host}}/admin/depot/recycle_update
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{admin_token}}
id=2&number=2
### 管理员删除回收
POST {{host}}/admin/depot/recycle_delete?id=2
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{admin_token}}
### 管理员查看回收列表
GET {{host}}/admin/depot/recycle_list?limit=10&query_kitchen_id=1
content-type: application/json
Authorization: Bearer {{admin_token}}