From 8aa2b355d981535327cfe02ce0c21baabbcb189f Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Tue, 2 Apr 2024 15:09:31 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=96=B0=E5=A2=9E=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- initialize/router.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/initialize/router.go b/initialize/router.go index ba59cd0..2c6b2bb 100644 --- a/initialize/router.go +++ b/initialize/router.go @@ -55,8 +55,7 @@ func Routers() *gin.Engine { r.OkWithData(len(jobs), c) }) PublicGroup.GET("/task/send", func(c *gin.Context) { - tag, _ := task.WxTask.FindJobsByTag("sendMsg") - r.OkWithData(tag[0].NextRun(), c) + task.SendMsg2User() }) }