fix: 分享 bug
This commit is contained in:
@@ -160,7 +160,7 @@ onShareAppMessage(async () => {
|
||||
});
|
||||
|
||||
onShareTimeline(async () => {
|
||||
const token = await getShareToken("wallpaper_timeline", detailData.value?.id);
|
||||
const token = await getShareToken("wallpaper_download", detailData.value?.id);
|
||||
return {
|
||||
title: "快来看看我刚领到的新年精美壁纸 🖼",
|
||||
query: `shareToken=${token}`,
|
||||
|
||||
@@ -113,7 +113,7 @@ onShareAppMessage(async (options) => {
|
||||
if (!isLoggedIn.value) {
|
||||
const shareToken = await getShareToken("wallpaper_download_index", "");
|
||||
return {
|
||||
title: "新春祝福",
|
||||
title: "新年好运已送达 🎊|祝福卡·头像·壁纸",
|
||||
path: `/pages/index/index?shareToken=${shareToken}`,
|
||||
imageUrl:
|
||||
"https://file.lihailezzc.com/resource/8dd026d76ef7a63d123b7fd698fb989b.png",
|
||||
@@ -132,7 +132,7 @@ onShareAppMessage(async (options) => {
|
||||
} else {
|
||||
const shareToken = await getShareToken("wallpaper_download_index", "");
|
||||
return {
|
||||
title: "新春祝福",
|
||||
title: "新年好运已送达 🎊|祝福卡·头像·壁纸",
|
||||
path: `/pages/index/index?shareToken=${shareToken}`,
|
||||
imageUrl:
|
||||
"https://file.lihailezzc.com/resource/8dd026d76ef7a63d123b7fd698fb989b.png",
|
||||
|
||||
Reference in New Issue
Block a user