From 9799e2929160dae31e35ab5957b57aa9a7b1bdb4 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Thu, 6 Jun 2024 19:57:49 +0800 Subject: [PATCH] Update lenovoapp.js --- lenovoapp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lenovoapp.js b/lenovoapp.js index 06c46ee..7a9a03a 100644 --- a/lenovoapp.js +++ b/lenovoapp.js @@ -43,7 +43,7 @@ class Task { } } async isSignIn() { - let result = await this.taskRequest({ method: "POST", url: `https://mmembership.lenovo.com.cn/member-hp-task-center/v1/task/getCheckInList?lenovoId=10219183246` }) + let result = await this.taskRequest({ method: "POST", url: `https://mmembership.lenovo.com.cn/member-hp-task-center/v1/task/getCheckInList?lenovoId=${this.ck}` }) //console.log(result); if (result.code == "0") { if (result.data.flag == !1) { @@ -57,7 +57,7 @@ class Task { } } async checkIn() { - let result = await this.taskRequest({ method: "POST", url: `https://mmembership.lenovo.com.cn/member-hp-task-center/v1/task/checkIn?lenovoId=10219183246&OSType=10011` }) + let result = await this.taskRequest({ method: "POST", url: `https://mmembership.lenovo.com.cn/member-hp-task-center/v1/task/checkIn?lenovoId=${this.ck}&OSType=10011` }) //console.log(result); if (result.code == "0") { $.log(`✅账号[${this.index}] 签到成功🎉`)