feat:depot_recycle
This commit is contained in:
@@ -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}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user