🎨 新增手动触发接口
This commit is contained in:
parent
4bb385b766
commit
8aa2b355d9
@ -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()
|
||||
})
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user