(label = "积分")
| 232 | } |
| 233 | |
| 234 | async getPoints(label = "积分") { |
| 235 | const data = await this.request({ apiPath: "wscump/integral/user_points.json" }); |
| 236 | const points = data?.current_points ?? data?.real_points ?? data?.total_points ?? "未知"; |
| 237 | $.log(`账号[${this.index}] ${label}: ${points}积分`); |
| 238 | return data; |
| 239 | } |
| 240 | |
| 241 | async getCheckinInfo() { |
| 242 | const data = await this.request({ apiPath: "wscump/checkin/show_checkin_page_v2.json" }); |
no test coverage detected