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

Method showCheckinPage

wxapp/yz9d.js:218–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 async showCheckinPage() {
219 try {
220 const data = await this.request({ path: "/wscump/checkin/show_checkin_page_v2.json" });
221 this.checkinId = data?.checkinId;
222 this.isShow = !!data?.isShow;
223 $.log(`账号[${this.index}] 签到活动: checkinId=${this.checkinId || "未获取"} isShow=${this.isShow}`);
224 } catch (e) {
225 $.log(`账号[${this.index}] 获取签到活动失败: ${e.message || e}`);
226 if (/access_token|token|登录|授权|invalid session/i.test(String(e.message || e))) this.removeCachedToken();
227 }
228 }
229
230 async doCheckin() {
231 if (!this.checkinId) {

Callers 1

runMethod · 0.95

Calls 3

requestMethod · 0.95
removeCachedTokenMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected