请求返回修改

This commit is contained in:
GaoHao
2025-01-16 13:55:54 +08:00
parent 1704cd2e7c
commit 51f8f54a26
2 changed files with 14 additions and 3 deletions

View File

@@ -209,6 +209,8 @@
async function getCanCash() {
canCash().then(res => {
data.isWithdraw = res;
console.log(res)
console.log(uni.getStorageSync('adRewardedNum'))
if( uni.getStorageSync('adRewardedNum') >= 3 ){
data.isWithdraw = true;
// uni.setStorageSync('adRewardedNum',0)