Commit 89cea63d authored by beisir's avatar beisir

feat:alert preve

parent ac527412
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
}; };
switch (type) { switch (type) {
case 0: case 0:
linkPath = `${config.localHost}/groupBuy/list?activityId=${shareInfo.activityId}`; linkPath = `${config.localHost}/groupBuy/list?activityId=${shareInfo.activityId}&vccToken={token}`;
break; break;
case 1: case 1:
case 2: case 2:
...@@ -163,6 +163,7 @@ export default { ...@@ -163,6 +163,7 @@ export default {
'pages/groupbuy/webview' 'pages/groupbuy/webview'
)}&terminal=1`; )}&terminal=1`;
const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath })); const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath }));
alert(linkPrve);
alert(`${linkPrve}&extraInfo=${linkParams}`); alert(`${linkPrve}&extraInfo=${linkParams}`);
return `${linkPrve}&extraInfo=${linkParams}`; return `${linkPrve}&extraInfo=${linkParams}`;
} }
......
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