Commit 69a1d0ce authored by leiqingsong's avatar leiqingsong

修改一下活动领取

parent 3a710b9e
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
timer: null, timer: null,
timeLine: "", timeLine: "",
isAward: false, isAward: false,
showAward: true, showAward: false,
userBaseInfo: {}, userBaseInfo: {},
isMember: false, isMember: false,
openid: "", openid: "",
...@@ -277,8 +277,9 @@ export default { ...@@ -277,8 +277,9 @@ export default {
}, },
// 领取( // 领取(
handleGet() { handleGet() {
console.log("env", this.env);
if ( if (
this.env.match(/MicroMessenger/i) !== "micromessenger" || this.env.match(/MicroMessenger/i) === "micromessenger" &&
this.env.match(/wxwork/i) == "wxwork" this.env.match(/wxwork/i) == "wxwork"
) { ) {
this.$toast("请在微信端领取!"); this.$toast("请在微信端领取!");
...@@ -303,7 +304,7 @@ export default { ...@@ -303,7 +304,7 @@ export default {
} }
// 会员领取 // 会员领取
let params = { let params = {
couponId: this.awardGood.activityPrize couponId: this.awardGood.coupon
? this.awardGood.coupon.id ? this.awardGood.coupon.id
: this.couponDetail.id, : this.couponDetail.id,
unionId: this.userBaseInfo.unionid, unionId: this.userBaseInfo.unionid,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment