Browse Source

渠道模板信息新增userid

hml 2 năm trước cách đây
mục cha
commit
3a0cb104a6

+ 1 - 0
purchase_H5/src/views/index.vue

@@ -172,6 +172,7 @@ export default {
         anonymousId: anonymousId,
         channelKey: channelKey,
         location: "",
+        userid:userid
       }
       newStrategy(params).then(async (res) => {
         let data = res.data;

+ 2 - 0
purchase_H5/src/views/manual/manual004.vue

@@ -97,10 +97,12 @@ export default {
     },
     getTemplate (fullCode, edition) {
       let anonymousId = this.$sensors.store._state.$device_id;
+      let userid = localStorage.getItem('userid')
       let params = {
         anonymousId: anonymousId,
         channelKey: this.channelKey,
         location: "",
+        userid:userid
       }
       newStrategy(params).then(async (res) => {
         let data = res.data;