Commit ca82ed50 by 高淑倩

支付

parent aa5dbe5d
......@@ -232,7 +232,6 @@ wxService.page({
couponId,
trolleySku2Buy
}
console.log('params', params, trolleySku2Buy)
this.getBill(params) // 下单
},
// 下单
......@@ -247,7 +246,6 @@ wxService.page({
delete data.appId
wx.requestPayment(Object.assign({
success(res) {
console.log('000000', res)
wx.hideLoading()
// 支付成功页面
wxService.router('/subPackage/page/pages/paymentStatus/paymentStatus')
......@@ -255,12 +253,12 @@ wxService.page({
fail(res) {
wx.hideLoading()
wx.showToast({
title: '支付失败',
title: '已取消',
icon: 'none',
mask: true
})
}
}, data))
}, data.wxParams))
}
}
})
......
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