提交 6e80a63b 编写于 作者: N ning

refactor: cur event del

上级 9e43a22e
......@@ -184,6 +184,9 @@ func (rt *Router) alertCurEventDel(c *gin.Context) {
set := make(map[int64]struct{})
// event group id is 0, ignore perm check
set[0] = struct{}{}
for i := 0; i < len(f.Ids); i++ {
event, err := models.AlertCurEventGetById(rt.Ctx, f.Ids[i])
ginx.Dangerous(err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册