Browse Source

分享参数修改

feature/3.0.0-推广员
lfs3 6 years ago
parent
commit
a7f94ddff2
1 changed files with 1 additions and 2 deletions
  1. 3
      src/models/wxShare.js

3
src/models/wxShare.js

@ -3,7 +3,6 @@ import wx from "weixin-js-sdk";
import axios from "axios";
import wxShareModel from "../models/wxShare-model.js";
import homeApi from "../models/home-model.js";
import Qs from 'qs';
//微信分享功能
Vue.prototype.wxShare = function(params) {
@ -31,7 +30,7 @@ Vue.prototype.wxShare = function(params) {
]
});
var urlParams = '';
let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId
let uuniqueId = this.$cookies.get('1hjz_mall_unique_id')
if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){
urlParams = '?uniqueId='+ uuniqueId
}

Loading…
Cancel
Save