feat: 商品列表,绑定耗材
This commit is contained in:
@@ -41,6 +41,24 @@ const AuthAPI = {
|
||||
method: "delete",
|
||||
});
|
||||
},
|
||||
// 退款退回
|
||||
refundToStock(data: any) {
|
||||
return request<any, Responseres>({
|
||||
url: `${baseURL}/refundToStock`,
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
},
|
||||
|
||||
// 耗材列表
|
||||
productcons(params: any) {
|
||||
return request<any, Responseres>({
|
||||
url: `/product/admin/product/cons/page`,
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
},
|
||||
|
||||
// 上下架
|
||||
onOff(data: any) {
|
||||
return request<any, Responseres>({
|
||||
@@ -79,6 +97,14 @@ const AuthAPI = {
|
||||
data,
|
||||
});
|
||||
},
|
||||
// 商品-绑定耗材
|
||||
bind(data: any) {
|
||||
return request<any, Responseres>({
|
||||
url: `${baseURL}/bind`,
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
},
|
||||
// 库存预警
|
||||
stockWarning(data: any) {
|
||||
return request<any, Responseres>({
|
||||
|
||||
Reference in New Issue
Block a user