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

Method getPoints

wxapp/yz19.js:257–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected