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