提现看广告优化
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"version" : "1.0",
|
"version" : "1.0",
|
||||||
"configurations" : [
|
"configurations" : [
|
||||||
{
|
{
|
||||||
"playground" : "standard",
|
"playground" : "custom",
|
||||||
"type" : "uni-app:app-android"
|
"type" : "uni-app:app-android"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -185,7 +185,6 @@
|
|||||||
function ruleConfirm() {
|
function ruleConfirm() {
|
||||||
data.ruleShow = false
|
data.ruleShow = false
|
||||||
data.ruleIndex++
|
data.ruleIndex++
|
||||||
console.log(data.ruleIndex >= data.ruleList.length)
|
|
||||||
if( data.ruleIndex >= data.ruleList.length) {
|
if( data.ruleIndex >= data.ruleList.length) {
|
||||||
data.ruleIndex = 0
|
data.ruleIndex = 0
|
||||||
return
|
return
|
||||||
@@ -209,7 +208,7 @@
|
|||||||
*/
|
*/
|
||||||
async function getCanCash() {
|
async function getCanCash() {
|
||||||
canCash().then(res => {
|
canCash().then(res => {
|
||||||
data.isWithdraw = !res;
|
data.isWithdraw = res;
|
||||||
if( uni.getStorageSync('adRewardedNum') >= 3 ){
|
if( uni.getStorageSync('adRewardedNum') >= 3 ){
|
||||||
data.isWithdraw = true;
|
data.isWithdraw = true;
|
||||||
// uni.setStorageSync('adRewardedNum',0)
|
// uni.setStorageSync('adRewardedNum',0)
|
||||||
|
|||||||
Reference in New Issue
Block a user