Commit 9be44ef8e40282c2376c25e85745fb8c4ee892ac

Authored by pengye
1 parent 3603e586

券支付新增 activity_id字段

... ... @@ -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: '支付成功',
... ...