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

Method getPoints

wxapp/yz9d.js:253–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 }
252
253 async getPoints() {
254 try {
255 const data = await this.request({ path: "/wscump/integral/user_points.json" });
256 $.log(`账号[${this.index}] 当前积分: ${data?.current_points ?? data?.real_points ?? "未知"}`);
257 } catch (e) {
258 $.log(`账号[${this.index}] 查询积分失败: ${e.message || e}`);
259 }
260 }
261}
262
263!(async () => {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected