|
|
@ -15,7 +15,7 @@ Vue.prototype.wxShare = function(params) { |
|
|
|
|
|
|
|
|
var jsApiSignConfig = response.response.jsApiSignConfig; |
|
|
var jsApiSignConfig = response.response.jsApiSignConfig; |
|
|
var shareConfig = response.response.shareConfig; |
|
|
var shareConfig = response.response.shareConfig; |
|
|
// var couponNo = response.response.couponNo
|
|
|
|
|
|
|
|
|
var couponNo = response.response.couponNo |
|
|
wx.config({ |
|
|
wx.config({ |
|
|
debug: false, // 开启调试模式,开发时可以开启
|
|
|
debug: false, // 开启调试模式,开发时可以开启
|
|
|
appId: jsApiSignConfig.appId, // 必填,公众号的唯一标识 由接口返回
|
|
|
appId: jsApiSignConfig.appId, // 必填,公众号的唯一标识 由接口返回
|
|
|
@ -32,9 +32,9 @@ Vue.prototype.wxShare = function(params) { |
|
|
}); |
|
|
}); |
|
|
var urlParams = ''; |
|
|
var urlParams = ''; |
|
|
let uuniqueId = this.$cookies.get('1hjz_mall_unique_id') |
|
|
let uuniqueId = this.$cookies.get('1hjz_mall_unique_id') |
|
|
// if(couponNo !== undefined && couponNo !== null && couponNo !== ""){
|
|
|
|
|
|
// urlParams = '?batchNo='+ couponNo
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
if(couponNo !== undefined && couponNo !== null && couponNo !== ""){ |
|
|
|
|
|
urlParams = '?batchNo='+ couponNo |
|
|
|
|
|
} |
|
|
if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ |
|
|
if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ |
|
|
if(urlParams.length > 0){ |
|
|
if(urlParams.length > 0){ |
|
|
urlParams+='&uniqueId='+ uuniqueId |
|
|
urlParams+='&uniqueId='+ uuniqueId |
|
|
|