提现看广告优化

This commit is contained in:
GaoHao 2025-01-16 13:33:28 +08:00
parent f92a3bbdf6
commit 1704cd2e7c
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"version" : "1.0",
"configurations" : [
{
"playground" : "standard",
"playground" : "custom",
"type" : "uni-app:app-android"
},
{

View File

@ -185,7 +185,6 @@
function ruleConfirm() {
data.ruleShow = false
data.ruleIndex++
console.log(data.ruleIndex >= data.ruleList.length)
if( data.ruleIndex >= data.ruleList.length) {
data.ruleIndex = 0
return
@ -209,7 +208,7 @@
*/
async function getCanCash() {
canCash().then(res => {
data.isWithdraw = !res;
data.isWithdraw = res;
if( uni.getStorageSync('adRewardedNum') >= 3 ){
data.isWithdraw = true;
// uni.setStorageSync('adRewardedNum',0)