|
...
|
...
|
@@ -215,9 +215,12 @@ Page({ |
|
|
|
if (actualPrice <= 0) {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
let str = this.data.finalList.map(item => item.activity_id).join(',');
|
|
|
|
console.log('核销所勾选的券传参', str);
|
|
|
|
App.PayOnline.CombineTransactionsByNewActivity({
|
|
|
|
sellerid: this.data.seller.sid,
|
|
|
|
price: actualPrice,
|
|
|
|
activity_id:str,
|
|
|
|
}).then(res => {
|
|
|
|
console.log('付款信息', res.data);
|
|
|
|
if (res.ret != '200') {
|
|
...
|
...
|
@@ -236,7 +239,7 @@ Page({ |
|
|
|
paySign: res.data.paySign,
|
|
|
|
success(ress) {
|
|
|
|
if (ress.errMsg == 'requestPayment:ok') {
|
|
|
|
that.writeOff()
|
|
|
|
// that.writeOff()
|
|
|
|
console.log('支付成功', ress);
|
|
|
|
return wx.showToast({
|
|
|
|
title: '支付成功',
|
...
|
...
|
|