From 2af91ab22df79d8f5db45c5fe03e53c4da971877 Mon Sep 17 00:00:00 2001 From: KingRan Date: Sat, 26 Feb 2022 18:23:08 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_fruit_task.js b/jd_fruit_task.js index e1d3f75..4da17f7 100644 --- a/jd_fruit_task.js +++ b/jd_fruit_task.js @@ -296,6 +296,7 @@ async function doTenWater() { for (; waterCount < $.farmTask.totalWaterTaskInit.totalWaterTaskLimit - $.farmTask.totalWaterTaskInit.totalWaterTaskTimes; waterCount++) { console.log(`第${waterCount + 1}次浇水`); await waterGoodForFarm(); + await $.wait(2000); console.log(`本次浇水结果: ${JSON.stringify($.waterResult)}`); if ($.waterResult.code === '0') { console.log(`剩余水滴${$.waterResult.totalEnergy}g`); @@ -946,8 +947,8 @@ async function gotStageAwardForFarm(type) { } //浇水API async function waterGoodForFarm() { - await $.wait(1000); - console.log('等待了1秒'); + await $.wait(3000); + console.log('等待了3秒'); const functionId = arguments.callee.name.toString(); $.waterResult = await request(functionId);