This commit is contained in:
li tong bao
2022-06-23 16:59:10 +08:00
83 changed files with 3305 additions and 889 deletions
+11
View File
@@ -55,3 +55,14 @@ export const GetLabProductApi = () => {
method: "get",
})
}
/**
* 收藏面料
* @returns
*/
// export const GetProductDetailApi = () => {
// return useRequest({
// url: `/v1/mall/product`,
// method: "get",
// })
// }
+62
View File
@@ -0,0 +1,62 @@
import { useRequest } from "@/use/useHttp"
/**
* 售后订单列表
*/
export const GetSaleOrderListApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder/list`,
method: "get",
})
}
/**
* 申请售后订单
*/
export const ReturnApplyOrderApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder`,
method: "post",
})
}
/**
* 取消退货
*/
export const ReturnApplyOrderCancelApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder/cancel`,
method: "post",
})
}
/**
* 售后订单详情
*/
export const SaleOrderOrderDetailApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder`,
method: "get",
})
}
/**
* 物流上传
*/
export const ReturnApplyLogisticsApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder/upload`,
method: "put",
})
}
/**
* 售后货物状况
*/
export const ReturnGoodsStatusApi = () => {
return useRequest({
url: `/v1/mall/enum/return/goodsStatus`,
method: "get",
})
}
+11
View File
@@ -31,4 +31,15 @@ export const DelShoppingCartApi = () => {
url: `/v1/mall/shoppingCart/productColor`,
method: "delete",
})
}
/**
* 修改购物车数量
* @returns
*/
export const UpdateShoppingCartApi = () => {
return useRequest({
url: `/v1/mall/shoppingCart/productColor`,
method: "put",
})
}
+9
View File
@@ -60,3 +60,12 @@ import { useRequest } from "@/use/useHttp"
})
}
/**
* 绑定公司
*/
export const BindingCompanyApi = () => {
return useRequest({
url: `/v1/mall/user/binding/company`,
method: "put",
})
}