update:added gen init data

This commit is contained in:
zhangwenjian committed 2020-09-12 20:38:54 +08:00
1 parent 6f09ecca32
commit ab28eea2f3
2 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -30,6 +30,6 @@ func registerSysJobRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddlew
r.DELETE("/:id", actions.PermissionAction(), actions.DeleteAction(new(dto.SysJobById)))
}
v1.GET("/job/remove/:jobId", sysjob.RemoveJob)
v1.GET("/job/start/:jobId", sysjob.StartJob)
v1.GET("/job/remove/:id", sysjob.RemoveJob)
v1.GET("/job/start/:id", sysjob.StartJob)
}