Commit e967ff4e authored by xd's avatar xd

测试精准营销活动页数据显示

parent f1d838da
NdQI4DAtoC9jyfXm
\ No newline at end of file
......@@ -225,6 +225,7 @@
return context == null || context == "" || context == "undefined" ? "" : context;
}
const nowUrl= GetQueryString('Url')
alert(`nowurl--->${nowUrl}`)
let pageUrl = `http://139.155.48.151:8085/workWx/auth/oauth2/wxMiniQrCode?pageUri=${nowUrl}`;
// document.getElementById('uri').innerHTML = 'Uri=' + String(pageUri)
......
......@@ -86,7 +86,6 @@
} else {
onBridgeReady()
}
// let pageUri = `${nowUrl}&detailid=${voucherId}&actionid=${activeId}&unionid=${unionId}`;
// let storecode = "181"
let pageUri = `pages/user/register/register?storeCode=${storecode}`
let pageUrl = `http://139.155.48.151:8085/workWx/auth/oauth2/wxMiniQrCode?pageUri=${pageUri}`;
......
......@@ -152,13 +152,14 @@ export default {
}
getVoucherWxUrl(postData).then(res => {
console.log(res,'指向小程序的链接')
this.zVoucherUrlSet(res.result.link)
this.zlist.voucherUrl = String(res.result.lin);
this.zpick('h5', String(inData))
// this.zVoucherUrlSet(res.result.link)
});
},
zpick(inMsgType, inUrl) {
switch (inMsgType) {
case "text":
wx.invoke(
"sendChatMessage",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment