Commit c96c86c7 by 马玮

Op ignore

parent dffefbdf
!production.toml
production.toml
!.gitignore
\ No newline at end of file
......@@ -28,16 +28,20 @@ class Autohome extends Base {
}
async execute() {
switch (this.params.task) {
case 'login': {
await this.login();
}
case 'tryLogin': {
await this.tryLogin();
}
case 'fetchClues': {
await this.fetchClues();
try {
switch (this.params.task) {
case 'login': {
return await this.login();
}
case 'tryLogin': {
return await this.tryLogin();
}
case 'fetchClues': {
return await this.fetchClues();
}
}
} catch (e) {
logger.fatal(`accountID: ${this.params.accountID}, 系统异常: ${e}`);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment