From d2b237fb45f3404c2ce0fd359c04c2cf1ba08c35 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Mon, 4 Jul 2022 13:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AD=BE=E5=88=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xtwly/xtwly.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xtwly/xtwly.js b/xtwly/xtwly.js index b2f7fc5..908cae1 100644 --- a/xtwly/xtwly.js +++ b/xtwly/xtwly.js @@ -8,6 +8,7 @@ * cron 10 7 * * * yml2213_javascript_master/xtwly.js * * 7-3 签到 ,群友说实物发货,自己玩把 + * 7-4 修复签到bug * * 感谢所有测试人员 * ========= 青龙--配置文件 ========= @@ -121,13 +122,8 @@ async function sign_info() { }; let result = await httpPost(Option, `签到信息`); - if (result.code == 0) { - if (result?.data?.signInCount == 0) { - DoubleLog(`签到信息: 未签到 ,去执行签到喽!`); - await signIn(); - } else if (result?.data?.signInCount == 1) { - DoubleLog(`签到信息: 今天已经签到了 ,明天再来吧!`); - } + if (result?.code == 0) { + await signIn(); } else { DoubleLog(`签到信息: 失败 ❌ 了呢,原因未知!`); console.log(result);