()
| 357 | } |
| 358 | |
| 359 | async run() { |
| 360 | await this.login(); |
| 361 | await this.queryHome(); |
| 362 | $.log(`签到:${await this.doSign()}`); |
| 363 | const videos = await this.doVideo(); |
| 364 | for (const result of videos) $.log(`观看视频:${result}`); |
| 365 | await this.queryHome(); |
| 366 | await this.pointsRecords(); |
| 367 | this.saveCachedToken(); |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | async function runAccount(openid, index) { |
no test coverage detected