fix 参数不一致

This commit is contained in:
DaxPay
2024-08-12 19:29:51 +08:00
parent 5459778faf
commit 91945d4399
2 changed files with 1 additions and 7 deletions

View File

@@ -36,12 +36,6 @@ export function simplePayCashier(obj): Promise<Result<PayOrderResult>> {
* 发起支付后响应对象
*/
export interface PayOrderResult {
// 支付ID
paymentId: string
// 是否是异步支付
asyncPay: boolean
// 异步支付通道
asyncChannel: string
// 支付参数体(通常用于发起异步支付的参数)
payBody: string
}

View File

@@ -196,7 +196,7 @@ function wechatJsapiPay() {
title: '测试H5支付',
amount: amount.value,
channel: payChannelEnum.WECHAT,
payMethod: payMethodEnum.JSAPI,
method: payMethodEnum.JSAPI,
openId: openId.value,
}
simplePayCashier(from)