Commit 2a173634fae2ed749aeab7acdf593dbcbabf8585

Authored by zhiyangdu
1 parent 8b199cea

渠道码动态传递

src/pages/goodDetails/goodDetails.vue
@@ -720,7 +720,7 @@ export default { @@ -720,7 +720,7 @@ export default {
720 this.http("/Api/" + this.getApiVersion().LuckDraw + "/integralGoodsInfo", { 720 this.http("/Api/" + this.getApiVersion().LuckDraw + "/integralGoodsInfo", {
721 id: goodsId, // 商品ID 721 id: goodsId, // 商品ID
722 uid: this.getStore("uid"), // 用户ID 722 uid: this.getStore("uid"), // 用户ID
723 - activityCode: "ds_jfsc", // 埋点统计 723 + activityCode: this.$route.query.activityCode, // 埋点统计
724 }, this.getGoodsInfoCallback, { 724 }, this.getGoodsInfoCallback, {
725 method: "POST" 725 method: "POST"
726 }); 726 });
src/pages/healthGoodDetails/healthGoodDetails.vue
@@ -459,7 +459,7 @@ export default { @@ -459,7 +459,7 @@ export default {
459 this.http("/Api/" + this.getApiVersion().LuckDraw + "/luckGoodsInfo", { 459 this.http("/Api/" + this.getApiVersion().LuckDraw + "/luckGoodsInfo", {
460 id: goodsId, // 商品ID 460 id: goodsId, // 商品ID
461 uid: this.getStore("uid"), // 用户ID 461 uid: this.getStore("uid"), // 用户ID
462 - activityCode: "ds_jbz", // 埋点统计 462 + activityCode: this.$route.query.activityCode, // 埋点统计
463 }, this.getGoodsInfoCallback, { 463 }, this.getGoodsInfoCallback, {
464 method: "POST" 464 method: "POST"
465 }); 465 });
src/pages/healthMall/healthMall.vue
@@ -53,7 +53,8 @@ export default { @@ -53,7 +53,8 @@ export default {
53 distance: 50, 53 distance: 50,
54 phyicalGoods: { list: [] }, // 实物商品 54 phyicalGoods: { list: [] }, // 实物商品
55 page: 1, 55 page: 1,
56 - isNoMore: false 56 + isNoMore: false,
  57 + activityCode:"ds_jbz"
57 } 58 }
58 }, 59 },
59 //部件 60 //部件
@@ -173,7 +174,7 @@ export default { @@ -173,7 +174,7 @@ export default {
173 // 设置跳转参数 174 // 设置跳转参数
174 let params = { 175 let params = {
175 type: '5', 176 type: '5',
176 - to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id, 177 + to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode,
177 shop_type: '' 178 shop_type: ''
178 }; 179 };
179 180
src/pages/pointsMall/pointsMall.vue
@@ -511,7 +511,7 @@ export default { @@ -511,7 +511,7 @@ export default {
511 // 设置跳转参数 511 // 设置跳转参数
512 let params = { 512 let params = {
513 type: '5', 513 type: '5',
514 - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, 514 + to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode,
515 shop_type: '' 515 shop_type: ''
516 }; 516 };
517 this.$parent.gotoDetail(params, { 517 this.$parent.gotoDetail(params, {