订单列表对接

This commit is contained in:
2022-05-25 20:32:15 +08:00
parent bbe5956813
commit 1367c0f654
13 changed files with 287 additions and 129 deletions
+3 -2
View File
@@ -6,7 +6,8 @@ import { useRequest } from "@/use/useHttp"
export const GetPayCode = () => {
return useRequest({
url: `/`,
base_url: 'http://192.168.1.127:8081',
base_url: 'http://192.168.1.127:8081/caphtml',
method: "post",
})
}
}
+20
View File
@@ -59,4 +59,24 @@ export const SaleOrderApi = () => {
url: `/v1/mall/saleOrder/shipmentMode`,
method: "put",
})
}
/**
* 获取订单状态枚举
*/
export const GetOrderStatusListApi = () => {
return useRequest({
url: `/v1/mall/enum/sale/order/status`,
method: "get",
})
}
/**
* 获取订单列表
*/
export const GetOrderListApi = () => {
return useRequest({
url: `/v1/mall/saleOrder/list`,
method: "get",
})
}