🎨 新增手动触发接口

This commit is contained in:
loser 2024-04-02 15:09:31 +08:00
parent 4bb385b766
commit 8aa2b355d9

View File

@ -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()
})
}