From 4159cce2c0882883404498ce7e07414b18e7c737 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 13 Apr 2022 16:03:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=AD=BE=E5=88=B0=20?= =?UTF-8?q?=E6=8A=BD=E5=A5=96=20=E5=88=86=E4=BA=AB=20=E5=8F=91=E5=B8=96=20?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=20=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gqcq/gqcq.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gqcq/gqcq.js b/gqcq/gqcq.js index 5066a6d..0d6a573 100644 --- a/gqcq/gqcq.js +++ b/gqcq/gqcq.js @@ -144,7 +144,6 @@ function task_list(timeout = 3 * 1000) { } else { console.log(`\n 获取签到状态: 失败 ❌ 了呢,原因未知!\n ${result} \n `) } - if (result.data[1].finishedNum < 2) { console.log(`\n 发帖:${result.data[1].finishedNum} / ${result.data[1].total} \n`); @@ -170,7 +169,7 @@ function task_list(timeout = 3 * 1000) { await $.wait(2 * 1000); - } else if (result.data[0].finishedNum == 2) { + } else if (result.data[1].finishedNum == 2) { console.log(`\n 今天已经发帖了,明天再来吧!\n `); } else { console.log(`\n 获取发帖状态: 失败 ❌ 了呢,原因未知!\n ${result} \n `); @@ -196,7 +195,7 @@ function task_list(timeout = 3 * 1000) { await $.wait(2 * 1000); - } else if (result.data[0].finishedNum == 2) { + } else if (result.data[3].finishedNum == 2) { // await Article_list(); // await share();