mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-07 04:21:25 +08:00
任务,通知功能完成
This commit is contained in:
@@ -48,4 +48,9 @@ func InitJobRouter(router *gin.RouterGroup) {
|
||||
job.GET("/start/:jobId", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(starteJobLog).Handle(jobApi.StartJobForService)
|
||||
})
|
||||
|
||||
updateStatusJobLog := ctx.NewLogInfo("修改状态")
|
||||
job.PUT("/changeStatus", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(updateStatusJobLog).Handle(jobApi.UpdateStatusJob)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user