mirror of
https://gitee.com/bootx/dax-pay-h5.git
synced 2025-10-13 21:50:26 +00:00
fix 参数不一致
This commit is contained in:
@@ -36,12 +36,6 @@ export function simplePayCashier(obj): Promise<Result<PayOrderResult>> {
|
||||
* 发起支付后响应对象
|
||||
*/
|
||||
export interface PayOrderResult {
|
||||
// 支付ID
|
||||
paymentId: string
|
||||
// 是否是异步支付
|
||||
asyncPay: boolean
|
||||
// 异步支付通道
|
||||
asyncChannel: string
|
||||
// 支付参数体(通常用于发起异步支付的参数)
|
||||
payBody: string
|
||||
}
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user