Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -215,9 +215,12 @@ Page({ | @@ -215,9 +215,12 @@ Page({ | ||
| 215 | if (actualPrice <= 0) { | 215 | if (actualPrice <= 0) { |
| 216 | return | 216 | return |
| 217 | } | 217 | } |
| 218 | + let str = this.data.finalList.map(item => item.activity_id).join(','); | ||
| 219 | + console.log('核销所勾选的券传参', str); | ||
| 218 | App.PayOnline.CombineTransactionsByNewActivity({ | 220 | App.PayOnline.CombineTransactionsByNewActivity({ |
| 219 | sellerid: this.data.seller.sid, | 221 | sellerid: this.data.seller.sid, |
| 220 | price: actualPrice, | 222 | price: actualPrice, |
| 223 | + activity_id:str, | ||
| 221 | }).then(res => { | 224 | }).then(res => { |
| 222 | console.log('付款信息', res.data); | 225 | console.log('付款信息', res.data); |
| 223 | if (res.ret != '200') { | 226 | if (res.ret != '200') { |
| @@ -236,7 +239,7 @@ Page({ | @@ -236,7 +239,7 @@ Page({ | ||
| 236 | paySign: res.data.paySign, | 239 | paySign: res.data.paySign, |
| 237 | success(ress) { | 240 | success(ress) { |
| 238 | if (ress.errMsg == 'requestPayment:ok') { | 241 | if (ress.errMsg == 'requestPayment:ok') { |
| 239 | - that.writeOff() | 242 | + // that.writeOff() |
| 240 | console.log('支付成功', ress); | 243 | console.log('支付成功', ress); |
| 241 | return wx.showToast({ | 244 | return wx.showToast({ |
| 242 | title: '支付成功', | 245 | title: '支付成功', |
-
Please register or login to post a comment