2
0

feat:增加余额支付功能

This commit is contained in:
zhongzm
2025-02-13 20:35:43 +08:00
parent 29f58edef6
commit 93579c7dde
6 changed files with 212 additions and 40 deletions

View File

@@ -25,4 +25,15 @@ export function wxPayScanCode(params: {orderId: number}) {
method: 'post',
params
});
}
}
/** Balance pay with orderId */
export function payBalance(params: { orderId: string }) {
return request({
url: `/u/order/payBalance/${params.orderId}`,
method: 'post',
headers: {
'Content-Type': 'application/json'
}
});
}