|
|
|
@ -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 |
|
|
|
} |
|
|
|
|