🎨 新增手动触发接口
This commit is contained in:
parent
4bb385b766
commit
8aa2b355d9
@ -55,8 +55,7 @@ func Routers() *gin.Engine {
|
|||||||
r.OkWithData(len(jobs), c)
|
r.OkWithData(len(jobs), c)
|
||||||
})
|
})
|
||||||
PublicGroup.GET("/task/send", func(c *gin.Context) {
|
PublicGroup.GET("/task/send", func(c *gin.Context) {
|
||||||
tag, _ := task.WxTask.FindJobsByTag("sendMsg")
|
task.SendMsg2User()
|
||||||
r.OkWithData(tag[0].NextRun(), c)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user