重构:为了提高效率重构时间表处理。

- 在wxtask.schedule.ts中安排定期工作后调用parseAllRecord()。
- 对多个文件进行了更改。
- 总体上提高了代码功能和效率。
This commit is contained in:
zhl 2023-04-14 15:07:45 +08:00
parent 9cded5efc9
commit ba79121288

View File

@ -27,5 +27,6 @@ export default class WxTaskSchedule {
const job = schedule.scheduleJob(' */1 * * * *', async () => {
await this.parseAllRecord()
})
this.parseAllRecord()
}
}