get event detail no need login

This commit is contained in:
Ulric Qin 2021-12-08 10:04:31 +08:00
parent 5e19eadd61
commit 12a5f335bd
1 changed files with 4 additions and 2 deletions

View File

@ -203,10 +203,12 @@ func configRoute(r *gin.Engine, version string) {
pages.GET("/busi-group/:id/alert-cur-events", jwtAuth(), user(), bgro(), alertCurEventGets)
pages.DELETE("/busi-group/:id/alert-cur-events", jwtAuth(), user(), bgrw(), alertCurEventDel)
pages.GET("/busi-group/:id/alert-cur-event/:eid", jwtAuth(), user(), bgro(), alertCurEventGet)
pages.GET("/busi-group/:id/alert-cur-event/:eid", alertCurEventGet) // TODO delete
pages.GET("/alert-cur-event/:eid", alertCurEventGet)
pages.GET("/busi-group/:id/alert-his-events", jwtAuth(), user(), bgro(), alertHisEventGets)
pages.GET("/busi-group/:id/alert-his-event/:eid", jwtAuth(), user(), bgro(), alertHisEventGet)
pages.GET("/busi-group/:id/alert-his-event/:eid", alertHisEventGet) // TODO delete
pages.GET("/alert-his-event/:eid", alertHisEventGet)
pages.GET("/busi-group/:id/task-tpls", jwtAuth(), user(), bgro(), taskTplGets)
pages.POST("/busi-group/:id/task-tpls", jwtAuth(), user(), bgrw(), taskTplAdd)