This commit is contained in:
Your Name
2026-03-11 14:33:49 +08:00
parent 38ad60f4bb
commit 08dd9cd307
57 changed files with 9547 additions and 379 deletions
+11 -1
View File
@@ -7,7 +7,7 @@ export function orderLists(params: any) {
// 订单详情
export function orderDetail(params: any) {
return request.get({ url: '/order.order/detail', params })
return request.post({ url: '/order.order/detail', params })
}
// 创建订单
@@ -30,6 +30,16 @@ export function orderPay(params: any) {
return request.post({ url: '/order.order/pay', params })
}
// 支付宝支付
export function alipayPay(params: any) {
return request.post({ url: '/order.order/alipay', params })
}
// 微信支付
export function wechatPay(params: any) {
return request.post({ url: '/order.order/wechat', params })
}
// 取消订单
export function orderCancel(params: any) {
return request.post({ url: '/order.order/cancel', params })