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

Method getRecentSignIn

wxapp/roki.js:285–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283 }
284
285 async getRecentSignIn() {
286 try {
287 const result = await this.request({ apiPath: "/user/check-in-record/recent/record" });
288 const data = result.data || {};
289 const days = data.consecutiveDays ?? data.continuousDays ?? data.days ?? "未知";
290 $.log(`账号[${this.index}] 连续签到: ${days}天`);
291 } catch (e) {
292 $.log(`账号[${this.index}] 查询签到记录失败: ${e.message || e}`);
293 }
294 }
295
296 async getMemberPoints() {
297 try {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected