fix:修复bug
This commit is contained in:
@@ -104,6 +104,38 @@ export const closeWithMaxFee = (orderNo) => {
|
||||
})
|
||||
}
|
||||
|
||||
// 创建微信支付订单
|
||||
export const createWxPayment = (orderNo) => {
|
||||
return request({
|
||||
url: `/app/wx-payment/create/${orderNo}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取正在使用中的订单
|
||||
export const getInUseOrder = () => {
|
||||
return request({
|
||||
url: '/app/order/inUse',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取待支付订单
|
||||
export const getUnpaidOrder = () => {
|
||||
return request({
|
||||
url: '/app/order/unpaid',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询微信支付状态
|
||||
export const getWxPaymentStatus = (orderNo) => {
|
||||
return request({
|
||||
url: `/app/wx-payment/status/${orderNo}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 通过订单号获取支付分订单信息
|
||||
export const getOrderByOrderNoScore = (orderNo) => {
|
||||
console.log('通过订单号获取支付分订单信息', orderNo);
|
||||
|
||||
Reference in New Issue
Block a user