fix: 分享 bug

This commit is contained in:
zzc
2026-02-12 01:47:53 +08:00
parent 1af26efe14
commit bf9930d4e4
5 changed files with 6 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ onShareAppMessage(async () => {
});
onShareTimeline(async () => {
const token = await getShareToken("avatar_timeline", detailData.value?.id);
const token = await getShareToken("avatar_download", detailData.value?.id);
return {
title: "快来看看我刚领到的新年专属头像 🎊",
query: `shareToken=${token}`,

View File

@@ -144,7 +144,7 @@ onShareAppMessage(async () => {
});
onShareTimeline(async () => {
const token = await getShareToken("card_timeline", cardDetail.value?.id);
const token = await getShareToken("card_generate", cardDetail.value?.id);
return {
title: "送你一张精美的新春祝福卡片 🎊",
query: `shareToken=${token}`,

View File

@@ -139,7 +139,7 @@ onShareAppMessage(async (options) => {
} else {
const shareToken = await getShareToken("greeting_page", "");
return {
title: "新春祝福",
title: "新年好运已送达 🎊|祝福卡·头像·壁纸",
path: `/pages/index/index?shareToken=${shareToken}`,
imageUrl:
"https://file.lihailezzc.com/resource/8dd026d76ef7a63d123b7fd698fb989b.png",

View File

@@ -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}`,

View File

@@ -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",