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

Method getSignInInfo

wxapp/nissin.js:227–234  ·  view source on GitHub ↗
(silent = false)

Source from the content-addressed store, hash-verified

225 }
226
227 async getSignInInfo(silent = false) {
228 const data = await this.request({ apiPath: "/sign-in/statistics" });
229 this.signInfo = data || {};
230 if (!silent) {
231 $.log(`账号[${this.index}] 签到状态: ${data?.hasSignedToday ? "已签" : "未签"} 连续${data?.continuousDays || 0}天 总${data?.totalDays || 0}天 今日${data?.todayPoints ?? "未知"}积分`);
232 }
233 return data;
234 }
235
236 async doSign() {
237 if (this.signInfo?.hasSignedToday) {

Callers 3

runMethod · 0.95
checkTokenMethod · 0.95
doSignMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected