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

Method getPoints

wxapp/fej.js:244–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 async getPoints() {
245 try {
246 const data = await this.request({ path: "/wscump/integral/user_points.json" });
247 $.log(`账号[${this.index}] 当前积分: ${data?.current_points ?? data?.real_points ?? "未知"}`);
248 } catch (e) {
249 $.log(`账号[${this.index}] 查询积分失败: ${e.message || e}`);
250 }
251 }
252}
253
254!(async () => {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected