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