From 6f4510c5e89e483560dc325e61275e4587923b50 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 27 May 2022 09:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=82=E5=B8=B8=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E8=84=9A=E6=9C=AC(=E6=B5=8B=E8=AF=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tlm/tlm.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tlm/tlm.js b/tlm/tlm.js index b47f4ff..2fc41d6 100644 --- a/tlm/tlm.js +++ b/tlm/tlm.js @@ -226,7 +226,7 @@ async function article_list() { // msg += `\n 文章列表: 获取成功 🎉`; let article_num = randomInt(1, 9); article_id = result.data[article_num].id; - console.log(` 阅读文章id ${article_id}`); + // console.log(` 阅读文章id ${article_id}`); } else { console.log(` 文章列表: 失败 ❌ 了呢,原因未知! ${result}`); @@ -255,22 +255,17 @@ async function start_reading() { let result = await httpPost(url, `开始阅读`); if (result.code === 1) { - - console.log(` 开始阅读: 成功 ,阅读预计获得金币:${result.data.drawNum}`); - msg += `\n 开始阅读: 成功 ,阅读预计获得金币:${result.data.drawNum}`; - + console.log(` 开始阅读: ${article_id} 成功 ,阅读预计获得金币:${result.data.drawNum}`); + msg += `\n 开始阅读: ${article_id} 成功 ,阅读预计获得金币:${result.data.drawNum}`; await_num = randomInt(60, 65); console.log(` 等待 ${await_num} 秒后 领取阅读奖励`); await $.wait(await_num * 1000); console.log(` 开始 领取阅读奖励`); await article_coin(); - - } else if (result.code === 0) { console.log(` 这篇文章读过了! 让我们跳过他!`); await $.wait(20 * 1000); await article_coin(); - } else { console.log(` 开始阅读: 失败 ❌ 了呢,原因未知!`); msg += `\n 开始阅读: 失败 ❌ 了呢,原因未知! `;