Commit d8b101394034130a68dc5a7f02ebecbce1960507

Authored by pengye
1 parent 912e18e2

领取免费券未提示领券成功/多次领取问题处理

@@ -181,9 +181,12 @@ Page({ @@ -181,9 +181,12 @@ Page({
181 let detail = this.data.detail 181 let detail = this.data.detail
182 detail.name = this.data.seller.sellername; 182 detail.name = this.data.seller.sellername;
183 detail.oid = this.data.opt.oid; 183 detail.oid = this.data.opt.oid;
184 - App.Activity.SetActivityAsReserve({ 184 + let obj = {
185 aid: this.data.opt.id, 185 aid: this.data.opt.id,
186 - rid: this.data.opt.oid, 186 + }
  187 + if(this.data.opt.oid) obj.rid = this.data.opt.oid;
  188 + App.Activity.SetActivityAsReserve({
  189 + ...obj
187 }).then((json) => { 190 }).then((json) => {
188 if (json.ret == 200) { 191 if (json.ret == 200) {
189 if(type == '1'){//核销分享人的券 192 if(type == '1'){//核销分享人的券