From b33ab99aaaac297bf217663cd61f70d619c13921 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?Hi=E6=98=9F=E9=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复签到 --- exeedcars.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exeedcars.js b/exeedcars.js index 742b927..8a4cd8d 100644 --- a/exeedcars.js +++ b/exeedcars.js @@ -118,7 +118,7 @@ class UserInfo { let options = { fn: "签到状态", method: "get", - url: `https://starway.exeedcars.com/api-user/model/switch/home`, + url: `https://starway.exeedcars.com/api-social/ec/personal/query/attendanceStatus`, headers: this.get_headers(), } let { body: result } = await httpRequest(options); @@ -126,7 +126,7 @@ class UserInfo { result = JSON.parse(result); //console.log(result); if (result.code == "200") { - if (result.data.sign == "1") { + if (result.data == true) { $.log(`今天已签到🎉`) } else { $.log(`今天未签到🎉`)