From c4ee7222ee0c76234fc069cddb34cb6f35fb5b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=B4=E6=B8=8A?= <74068830+LinYuanovo@users.noreply.github.com> Date: Fri, 1 Jul 2022 15:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B3=E5=A7=86=E6=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hmdLY.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/hmdLY.js b/hmdLY.js index 31772b0..eb9ca7b 100644 --- a/hmdLY.js +++ b/hmdLY.js @@ -38,6 +38,7 @@ let taskType = []; let coin = 0; let beforeCoin = 0; let afterCoin = 0; +let signTaskId = 0; !(async () => { @@ -88,10 +89,6 @@ let afterCoin = 0; await $.wait(2 * 1000); beforeCoin = coin; - log('开始签到'); - await doSign(); - await $.wait(2 * 1000); - log('开始获取PC任务'); await getPCTaskList(); await $.wait(2 * 1000); @@ -108,6 +105,10 @@ let afterCoin = 0; await getHTaskList(); await $.wait(2 * 1000); + log('开始签到'); + await doSign(); + await $.wait(2 * 1000); + log('开始做手机浏览任务'); for (let i = 0;i