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

Method getPoints

wxapp/sinsin.js:234–239  ·  view source on GitHub ↗
(label = "积分")

Source from the content-addressed store, hash-verified

232 }
233
234 async getPoints(label = "积分") {
235 const data = await this.request({ apiPath: "wscump/integral/user_points.json" });
236 const points = data?.current_points ?? data?.real_points ?? data?.total_points ?? "未知";
237 $.log(`账号[${this.index}] ${label}: ${points}积分`);
238 return data;
239 }
240
241 async getCheckinInfo() {
242 const data = await this.request({ apiPath: "wscump/checkin/show_checkin_page_v2.json" });

Callers 2

runMethod · 0.95
checkTokenMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected