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

Method checkToken

wxapp/yz19.js:212–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210 }
211
212 async checkToken() {
213 try {
214 const data = await this.request({ path: "/wscump/integral/user_points.json" });
215 this.points = data?.current_points ?? data?.real_points;
216 return true;
217 } catch (e) {
218 return false;
219 }
220 }
221
222 async showCheckinPage() {
223 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected