订单售后v3

This commit is contained in:
2022-06-17 20:35:04 +08:00
parent bd04a6d31b
commit 6e08416ba0
16 changed files with 189 additions and 56 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",
// })
// }
+4 -4
View File
@@ -3,20 +3,20 @@ import { useRequest } from "@/use/useHttp"
/**
* 售后订单列表
*/
export const GetHotSearchApi = () => {
export const GetSaleOrderListApi = () => {
return useRequest({
url: `/v1/mall/hotSearch/list`,
url: `/v1/mall/returnApplyOrder/list`,
method: "get",
})
}
/**
* 申请售后订单列表
* 申请售后订单
*/
export const ReturnApplyOrderApi = () => {
return useRequest({
url: `/v1/mall/returnApplyOrder`,
method: "get",
method: "post",
})
}