mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
Hi星途
修复签到
This commit is contained in:
@@ -118,7 +118,7 @@ class UserInfo {
|
|||||||
let options = {
|
let options = {
|
||||||
fn: "签到状态",
|
fn: "签到状态",
|
||||||
method: "get",
|
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(),
|
headers: this.get_headers(),
|
||||||
}
|
}
|
||||||
let { body: result } = await httpRequest(options);
|
let { body: result } = await httpRequest(options);
|
||||||
@@ -126,7 +126,7 @@ class UserInfo {
|
|||||||
result = JSON.parse(result);
|
result = JSON.parse(result);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.code == "200") {
|
if (result.code == "200") {
|
||||||
if (result.data.sign == "1") {
|
if (result.data == true) {
|
||||||
$.log(`今天已签到🎉`)
|
$.log(`今天已签到🎉`)
|
||||||
} else {
|
} else {
|
||||||
$.log(`今天未签到🎉`)
|
$.log(`今天未签到🎉`)
|
||||||
|
|||||||
Reference in New Issue
Block a user