fix: share reward

This commit is contained in:
zzc
2026-02-28 23:22:35 +08:00
parent b302103c15
commit dd4129bb58
9 changed files with 35 additions and 9 deletions

View File

@@ -137,7 +137,12 @@ import {
onShow,
} from "@dcloudio/uni-app";
import { getBavBarHeight } from "@/utils/system";
import { getRecommendList, getRandomGreeting, getTipsList } from "@/api/system";
import {
getRecommendList,
getRandomGreeting,
getTipsList,
getShareReward,
} from "@/api/system";
import { getShareToken, saveViewRequest, trackRecord } from "@/utils/common.js";
const countdownText = ref("");
@@ -210,6 +215,7 @@ onLoad((options) => {
onShareAppMessage(async () => {
const shareToken = await getShareToken("index");
getShareReward({ scene: "index" });
return {
title: "新年好运已送达 🎊|祝福卡·头像·壁纸",
path: `/pages/index/index?shareToken=${shareToken}`,