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

Method handleStatus

wxapp/fyzq.js:184–193  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

182 }
183
184 async handleStatus(status) {
185 if (status.signed) {
186 $.log(`账号[${this.index}] 今日已签到,连续签到 ${status.continuous ?? "未知"} 天`);
187 return;
188 }
189
190 await this.doSign();
191 const after = await this.signBanner();
192 $.log(`账号[${this.index}] 签到成功,连续签到 ${after.continuous ?? "未知"} 天`);
193 }
194}
195
196!(async () => {

Callers 1

runMethod · 0.95

Calls 3

doSignMethod · 0.95
signBannerMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected