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

Method getSignLog

wxapp/nice.js:252–262  ·  view source on GitHub ↗
(silent = false)

Source from the content-addressed store, hash-verified

250 }
251
252 async getSignLog(silent = false) {
253 const data = await this.request("/u/signinlog");
254 const info = data?.member_sign_info || {};
255 const showDay = Number(info.show_day || 0);
256 const totalCoins = info.zongCoin ?? data?.zongCoin ?? 0;
257 this.todaySigned = Number(info.sign_today || 0) === 1;
258 if (!silent) {
259 $.log(`账号[${this.index}] 签到状态: ${this.todaySigned ? "今日已签" : "今日未签"} 连续${showDay}天 积分${totalCoins}`);
260 }
261 return data;
262 }
263
264 async doSign() {
265 if (this.todaySigned) return;

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