Authored by htoooth

fix link

... ... @@ -12,6 +12,10 @@ function h5Path(shareUid, actPrizeId) {
return `https://m.yohobuy.com/activity/yoluck/${actPrizeId}.html?shareUid=${shareUid}`;
}
function h5Name(name) {
return `【0元抽奖】${name}`;
}
function shareData({name, imgUrl, price, shareUid, actPrizeId}) {
return {
app: {
... ... @@ -25,7 +29,7 @@ function shareData({name, imgUrl, price, shareUid, actPrizeId}) {
desc: '限时抽奖活动'
},
h5: {
title: name,
title: h5Name(name),
imgUrl: imgUrl,
link: h5Path(shareUid, actPrizeId),
desc: '限时抽奖活动'
... ...