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

Method querySignDetail

wxapp/oppo.js:255–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 }
254
255 async querySignDetail() {
256 const detail = await this.getSignDetail();
257 const award = this.todayAward(detail);
258 const signed = Number(award.status) === 1;
259 this.log(
260 `签到详情: ${signed ? "今日已签" : "今日未签"},已签天数: ${detail.signInDayNum ?? 0},今日奖励: ${
261 award.awardValue ?? "-"
262 }${award.awardType !== undefined ? awardTypeName(award.awardType) : ""}`
263 );
264 return { detail, signed };
265 }
266
267 async signIn() {
268 const { signed } = await this.querySignDetail();

Callers 1

signInMethod · 0.95

Calls 4

getSignDetailMethod · 0.95
todayAwardMethod · 0.95
logMethod · 0.95
awardTypeNameFunction · 0.85

Tested by

no test coverage detected