fix: user reward

This commit is contained in:
zzc
2026-03-06 14:14:27 +08:00
parent 516063bb14
commit 210f913aed
2 changed files with 16 additions and 1 deletions

View File

@@ -54,6 +54,21 @@ export const checkAbilityAndHandle = async (scene, rewardAdRef) => {
return false;
}
if (abilityRes?.blockType === "need_vip") {
uni.showModal({
title: "会员激活",
content: "会员激活即可继续使用该功能,是否前往开通?",
success: (res) => {
if (res.confirm) {
uni.navigateTo({
url: "/pages/mine/vip",
});
}
},
});
return false;
}
uni.showToast({
title: "您今日下载次数已用完,明日再试",
icon: "none",