Showing
1 changed file
with
5 additions
and
2 deletions
| @@ -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'){//核销分享人的券 |
-
Please register or login to post a comment