From 9c312f65c240f8f8882ab717df759f5f240fa176 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 1 Apr 2022 10:18:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=87=A0=E4=B8=AA=E5=BE=AA?= =?UTF-8?q?=E7=8E=AFbug=20=EF=BC=8C=E5=85=B3=E9=97=AD=E9=BB=98=E8=AE=A4deb?= =?UTF-8?q?ug=E6=A8=A1=E5=BC=8F=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dygy/dygy.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dygy/dygy.js b/dygy/dygy.js index 9952adc..d68d69a 100644 --- a/dygy/dygy.js +++ b/dygy/dygy.js @@ -99,13 +99,13 @@ let choose_gold_num = 1; console.log(`\n 【debug】 这是你第 ${num} 账号信息:\n ck:${ck}\n`); } - // console.log('开始 【获取首页图标】'); - // await polling_info(ck); - // await $.wait(2 * 1000); + console.log('开始 【获取首页图标】'); + await polling_info(ck); + await $.wait(2 * 1000); - // console.log('开始 【获取任务列表】'); - // await tasks_list(ck); - // await $.wait(2 * 1000); + console.log('开始 【获取任务列表】'); + await tasks_list(ck); + await $.wait(2 * 1000); console.log('开始 【戳鸭子】'); @@ -113,9 +113,9 @@ let choose_gold_num = 1; await $.wait(2 * 1000); - // console.log('开始 【浇水】'); - // await watering(ck); - // await $.wait(2 * 1000); + console.log('开始 【浇水】'); + await watering(ck); + await $.wait(2 * 1000); await SendMsg(msg); } @@ -512,7 +512,7 @@ function touch_Duck(ck, timeout = 3 * 1000) { $.get(request_url, async (error, response, data) => { try { - if (1) { + if (debug) { console.log(`\n\n 【debug】===============这是 戳鸭子 返回data==============`); console.log(data) console.log(`======`)