【修复】修复微信支付拉起失败的问题,因多写了一个参数,导致调用扫码支付接口去了。

This commit is contained in:
大灰灰
2022-11-01 15:01:25 +08:00
parent 13101a9bce
commit 69fe4631a7

View File

@@ -134,8 +134,9 @@
payment_code: code,
payment_type: this.type,
params: {
trade_type: 'NATIVE',
} }
//trade_type: 'NATIVE',
}
}
data['ids'] = (this.type == this.$globalConstVars.paymentType.common || this.type == this.$globalConstVars.paymentType.pinTuan || this.type == this.$globalConstVars.paymentType.group || this.type == this.$globalConstVars.paymentType.seckill || this.type == this.$globalConstVars.paymentType.bargain || this.type == this.$globalConstVars.paymentType.giveaway || this.type == this.$globalConstVars.paymentType.solitaire || this.type == this.$globalConstVars.paymentType.transactionComponent || this.type == this.$globalConstVars.paymentType.serviceOrder) ? this.orderId : this.uid
// 判断订单支付类型