()
| 4062 | this.reporter.line(`[${this.maskedAccount}] ${e}`) |
| 4063 | } |
| 4064 | async run() { |
| 4065 | try { |
| 4066 | if (!await this.jwt()) return void this.reporter.invalid.push(this.maskedAccount); |
| 4067 | await this.signinStatus(), await this.clickTask(), await this.processTaskList("sign_in_3", "cloud_app"), await this.cloudGame(), await this.wxSign(), await this.shake(), await this.surplusNum(), await this.backupCloud(), await this.openSend(), await this.processTaskList("newsign_139mail", "email_app"), await this.receive(), this.config.uploadEnabled && await this.uploadLargeFile(), this.config.shareEnabled && await this.shareFile() |
| 4068 | } catch (e) { |
| 4069 | this.reporter.errors.push(`${this.maskedAccount}: ${e.message||String(e)}`), this.log(`执行异常: ${function(e){if(e instanceof Error)return`${e.name}: ${e.message}`;try{return JSON.stringify(e)}catch(t){return String(e)}}(e)}`) |
| 4070 | } |
| 4071 | } |
| 4072 | async request(e, t = 3) { |
| 4073 | return this.requester.request(e, t) |
| 4074 | } |
no test coverage detected