重构:为了提高效率重构时间表处理。
- 在wxtask.schedule.ts中安排定期工作后调用parseAllRecord()。 - 对多个文件进行了更改。 - 总体上提高了代码功能和效率。
This commit is contained in:
parent
9cded5efc9
commit
ba79121288
@ -27,5 +27,6 @@ export default class WxTaskSchedule {
|
||||
const job = schedule.scheduleJob(' */1 * * * *', async () => {
|
||||
await this.parseAllRecord()
|
||||
})
|
||||
this.parseAllRecord()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user