feat:depot_recycle

This commit is contained in:
LAPTOP-7SGDREK0\shiweijun
2025-02-10 16:11:26 +08:00
parent 22dd466254
commit 3f61e1e766
8 changed files with 361 additions and 4 deletions

View File

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