From 0b02343d9f266844a076c4c946d7b6efc080fa61 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Wed, 31 Dec 2025 17:20:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=85=8D=E7=BD=AE=E4=B8=8E=E7=BE=A4=E7=BB=84?= =?UTF-8?q?ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/server/cron.go | 2 +- internal/services/cron.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/server/cron.go b/internal/server/cron.go index 76c5739..2f1a9dc 100644 --- a/internal/server/cron.go +++ b/internal/server/cron.go @@ -42,7 +42,7 @@ func (c *CronServer) InitJobs(ctx context.Context) { { Func: c.cronService.CronReportSend, Name: "直连天下报表推送", - Schedule: "@every 60s", + Schedule: "0 0 12,18,23 * * *", }, } } diff --git a/internal/services/cron.go b/internal/services/cron.go index 5f624d1..b51d0ab 100644 --- a/internal/services/cron.go +++ b/internal/services/cron.go @@ -26,7 +26,7 @@ func (d *CronService) CronReportSend(ctx context.Context) error { if err != nil { return err } - groupId := 23 + groupId := 29 groupInfo, err := d.dingTalkBotBiz.GetGroupInfo(ctx, groupId) if err != nil { return err