Commit c96c86c7 by 马玮

Op ignore

parent dffefbdf
!production.toml production.toml
!.gitignore !.gitignore
\ No newline at end of file
...@@ -28,16 +28,20 @@ class Autohome extends Base { ...@@ -28,16 +28,20 @@ class Autohome extends Base {
} }
async execute() { async execute() {
try {
switch (this.params.task) { switch (this.params.task) {
case 'login': { case 'login': {
await this.login(); return await this.login();
} }
case 'tryLogin': { case 'tryLogin': {
await this.tryLogin(); return await this.tryLogin();
} }
case 'fetchClues': { case 'fetchClues': {
await this.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