Commit ca82ed50 by 高淑倩

支付

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