Commit bca77fc1 by 李伟康

还原

1 parent 8b527a1d
......@@ -40,8 +40,7 @@ export default {
appId: shopmall_appid,
envVersion
}
let url = window.location.origin
// .replace('scrm', 'wechatlink')
let url = window.location.origin.replace('scrm', 'wechatlink')
wxConfig.shareToExternalMoments({
attachments: [
{
......@@ -49,7 +48,7 @@ export default {
link: {
title: materialTitle || `「${userName}」邀请您查看「${materialName}」`, // H5消息标题
imgUrl: titleUrl || frameUrl, // H5消息封面图片URL
url: `${url}/wechat-link?linkData=${encodeURIComponent(JSON.stringify(data))}` // H5消息页面url 必填
url: `${url}?linkData=${encodeURIComponent(JSON.stringify(data))}` // H5消息页面url 必填
},
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!