2
0

feat: 微信支付

This commit is contained in:
caiyuchao
2025-01-20 17:04:18 +08:00
parent 83d820cbce
commit 107ff2dfbb
7 changed files with 129 additions and 16 deletions

View File

@@ -1,10 +1,19 @@
import { request, rawRequest } from '../request';
/** Submit order with different types */
/** AliPay pcPay with orderId */
export function aliPayPcPay(params: {orderId: number}) {
return rawRequest({
url: '/payment/aliPay/pcPay',
method: 'post',
params
});
}
return rawRequest({
url: '/payment/aliPay/pcPay',
method: 'post',
params
});
}
/** WxPay scanCode with orderId */
export function wxPayScanCode(params: {orderId: number}) {
return request({
url: '/payment/wxPay/scanCode2',
method: 'post',
params
});
}