支付宝兼容

This commit is contained in:
2026-03-09 09:07:58 +08:00
parent 069677957e
commit b3836b8bf2
31 changed files with 2382 additions and 307 deletions
+18
View File
@@ -126,6 +126,15 @@ export const createWxPayment = (orderNo) => {
})
}
// 创建支付宝支付订单(租借押金 H5 支付)
// 对应文档《支付宝接口文档》:GET /app/ali-payment/create/{orderNo}
export const createAliPayment = (orderNo) => {
return request({
url: `/app/ali-payment/create/${orderNo}`,
method: 'get'
})
}
// 获取正在使用中的订单
export const getInUseOrder = () => {
return request({
@@ -150,6 +159,15 @@ export const getWxPaymentStatus = (orderNo) => {
})
}
// 查询支付宝支付状态
// 对应文档:GET /app/ali-payment/status/{orderNo}
export const getAliPaymentStatus = (orderNo) => {
return request({
url: `/app/ali-payment/status/${orderNo}`,
method: 'get'
})
}
// ==================== Antom 支付相关接口 ====================
// 创建 Antom H5 支付订单