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

Method signIn

wxapp/iqoo.js:299–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297 }
298
299 async signIn() {
300 try {
301 const result = await this.request("v3/sign", { from: "group" });
302 $.log(`🌸账号[${this.index}]🕊当前已签到${result.Data.serialDays}天🎉 获得积分${result.Data.score} 当前积分${result.Data.scoreCount}`);
303 } catch (e) {
304 const message = String(e.message || e);
305 if (/已签|重复|今日|13006/.test(message)) {
306 $.log(`🌸账号[${this.index}] 今日已签到`);
307 return;
308 }
309 $.log(`🌸账号[${this.index}] 签到失败:${message}❌`);
310 if (isTokenError(message)) this.removeCachedToken();
311 }
312 }
313
314 async likePost(threadId, postId) {
315 try {

Callers 1

runMethod · 0.95

Calls 4

requestMethod · 0.95
removeCachedTokenMethod · 0.95
isTokenErrorFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected