()
| 290 | } |
| 291 | |
| 292 | todayKey() { |
| 293 | const now = new Date(); |
| 294 | const year = now.getFullYear(); |
| 295 | const month = `${now.getMonth() + 1}`.padStart(2, "0"); |
| 296 | const day = `${now.getDate()}`.padStart(2, "0"); |
| 297 | return `${year}${month}${day}`; |
| 298 | } |
| 299 | |
| 300 | async queryCalendar(prefix = "签到状态") { |
| 301 | const data = await this.mapApi("/activity/v1/checkin/calendar", { |