MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / checkIn

Method checkIn

daily/lenovo.js:79–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78 }
79 async checkIn() {
80 let options = { method: "POST", url: `https://mmembership.lenovo.com.cn/member-hp-task-center/v1/task/checkIn?lenovoId=${this.ck}&OSType=10011`, headers: this.headers }
81 let { data: result } = await axios.request(options)
82 //
83 if (result.code == "0") {
84 $.log(`✅账号[${this.index}] 签到成功🎉`)
85 } else {
86 $.log(`❌账号[${this.index}] 签到失败[${result.msg}]`);
87
88 }
89 }
90 getSignKey() {
91 global["window"] = {}
92 const JSEncrypt = require("jsencrypt")

Callers 2

mainMethod · 0.95
isSignInMethod · 0.95

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected