Commit adbc4d7c authored by DPFly's avatar DPFly

修复拼团无法金额支付

parent 7e8cd34f
......@@ -672,16 +672,8 @@
.pay({ order_no: orderNo })
.then(res => {
if (!res.data.pay_info) return reject('支付失败')
const { payment } = res.data.pay_info
native
.requestPayment({
appId: payment.appId,
timeStamp: payment.timeStamp,
nonceStr: payment.nonceStr,
package: payment.package_str,
signType: payment.signType,
paySign: payment.paySign,
})
.requestPayment(res.data.pay_info.payment)
.then(resolve)
.catch(err => {
if (err.errMsg === 'requestPayment:fail cancel') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment