bugfix for alert-aggr-views

This commit is contained in:
Ulric Qin 2022-06-15 14:01:01 +08:00
parent f6fd6aed7f
commit 63adcc2cd9
1 changed files with 3 additions and 3 deletions

View File

@ -244,9 +244,9 @@ func configRoute(r *gin.Engine, version string) {
pages.DELETE("/alert-cur-events", jwtAuth(), user(), perm("/alert-cur-events/del"), alertCurEventDel) pages.DELETE("/alert-cur-events", jwtAuth(), user(), perm("/alert-cur-events/del"), alertCurEventDel)
pages.GET("/alert-aggr-views", jwtAuth(), alertAggrViewGets) pages.GET("/alert-aggr-views", jwtAuth(), alertAggrViewGets)
pages.DELETE("/alert-aggr-views", jwtAuth(), alertAggrViewDel) pages.DELETE("/alert-aggr-views", jwtAuth(), user(), alertAggrViewDel)
pages.POST("/alert-aggr-views", jwtAuth(), alertAggrViewAdd) pages.POST("/alert-aggr-views", jwtAuth(), user(), alertAggrViewAdd)
pages.PUT("/alert-aggr-views", jwtAuth(), alertAggrViewPut) pages.PUT("/alert-aggr-views", jwtAuth(), user(), alertAggrViewPut)
pages.GET("/busi-group/:id/task-tpls", jwtAuth(), user(), perm("/job-tpls"), bgro(), taskTplGets) pages.GET("/busi-group/:id/task-tpls", jwtAuth(), user(), perm("/job-tpls"), bgro(), taskTplGets)
pages.POST("/busi-group/:id/task-tpls", jwtAuth(), user(), perm("/job-tpls/add"), bgrw(), taskTplAdd) pages.POST("/busi-group/:id/task-tpls", jwtAuth(), user(), perm("/job-tpls/add"), bgrw(), taskTplAdd)