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