From ba79121288d8f6b0800a3127a7ea7edfc120542c Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 14 Apr 2023 15:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=EF=BC=9A=E4=B8=BA=E4=BA=86?= =?UTF-8?q?=E6=8F=90=E9=AB=98=E6=95=88=E7=8E=87=E9=87=8D=E6=9E=84=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=A1=A8=E5=A4=84=E7=90=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在wxtask.schedule.ts中安排定期工作后调用parseAllRecord()。 - 对多个文件进行了更改。 - 总体上提高了代码功能和效率。 --- src/schedule/wxtask.schedule.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schedule/wxtask.schedule.ts b/src/schedule/wxtask.schedule.ts index f306d65..c236f21 100644 --- a/src/schedule/wxtask.schedule.ts +++ b/src/schedule/wxtask.schedule.ts @@ -27,5 +27,6 @@ export default class WxTaskSchedule { const job = schedule.scheduleJob(' */1 * * * *', async () => { await this.parseAllRecord() }) + this.parseAllRecord() } }