mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-16 23:09:38 +08:00
Hi星途
修复签到
This commit is contained in:
@@ -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(`今天未签到🎉`)
|
||||
|
||||
Reference in New Issue
Block a user