From 754325a95cfedacef436b41f41e9ee069dfb919b Mon Sep 17 00:00:00 2001 From: KingRan Date: Sat, 26 Feb 2022 17:49:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_fruit_task.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/jd_fruit_task.js b/jd_fruit_task.js index ef0b9c2..e1d3f75 100644 --- a/jd_fruit_task.js +++ b/jd_fruit_task.js @@ -132,12 +132,6 @@ async function jdFruit() { await getTenWaterAward(); //领取10浇水奖励 await getWaterFriendGotAward(); //领取为2好友浇水奖励 await duck(); - lnrun++; - if (lnrun == 10) { - console.log(`\n访问接口次数达到10次,休息30秒.....\n`); - await $.wait(30 * 1000); - lnrun = 0; - } if (!process.env.DO_TEN_WATER_AGAIN) { console.log('执行再次浇水') await doTenWaterAgain(); //再次浇水 @@ -559,7 +553,7 @@ async function turntableFarm() { } } } - console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`) + console.log(`---天天抽奖次数----${remainLotteryTimes}次`) //抽奖 if (remainLotteryTimes > 0) { console.log('开始抽奖')