From 63cf26787a3c47399a7f41a63268ac93f377e0a2 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 13 Apr 2022 16:35:46 +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=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=AF=84=E8=AE=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gqcq/gqcq.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gqcq/gqcq.js b/gqcq/gqcq.js index 0d6a573..18d441e 100644 --- a/gqcq/gqcq.js +++ b/gqcq/gqcq.js @@ -19,7 +19,7 @@ const $ = new Env("广汽传祺"); // const $ = Env(jsname); const notify = $.isNode() ? require('./sendNotify') : ''; const Notify = 1; //0为关闭通知,1为打开通知,默认为1 -const debug = 0; //0为关闭调试,1为打开调试,默认为0 +const debug = 1; //0为关闭调试,1为打开调试,默认为0 ////////////////////// const salt = '17aaf8118ffb270b766c6d6774317a133.4.0' let gqcq_dataArr = []; @@ -70,7 +70,7 @@ let add_comment_text = add_comment_text_arr[ram_num]; console.log(`\n 【debug】 这是你第 ${num} 账号信息:\n ${data}\n`); } - console.log('开始 任务列表'); + console.log('开始 检查任务列表'); await task_list(); await $.wait(2 * 1000); @@ -158,7 +158,7 @@ function task_list(timeout = 3 * 1000) { await $.wait(2 * 1000); - console.log(`\n 发帖:执行第一次发帖,评论,删除评论 \n`); + console.log(`\n 发帖:执行第二次发帖,评论,删除评论 \n`); await post_topic(); await $.wait(3 * 1000); @@ -590,8 +590,7 @@ function add_comment(timeout = 3 * 1000) { let result = JSON.parse(data); if (result.errorCode == 20000) { - console.log(`\n 评论帖子:${result.errorMessage} 🎉 \n帖子ID: ${result.data.postId} `); - topic_id = result.data.postId; + console.log(`\n 评论帖子:${result.errorMessage} 🎉 \n`); } else {