Commit 3dbc10c9 by 李伟康

提交代码

1 parent 2155dc87
......@@ -40,7 +40,7 @@ export default {
appId: shopmall_appid,
envVersion
}
let url = window.location.origin.replace('scrm', 'wechatlink')
let url = window.location.origin
wxConfig.shareToExternalMoments({
attachments: [
{
......@@ -48,7 +48,7 @@ export default {
link: {
title: materialTitle || `「${userName}」邀请您查看「${materialName}」`, // H5消息标题
imgUrl: titleUrl || frameUrl, // H5消息封面图片URL
url: `${url}?linkData=${encodeURIComponent(JSON.stringify(data))}` // H5消息页面url 必填
url: `${url}/wechat-link/?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!