add alert_aggr_view

This commit is contained in:
Ulric Qin 2022-03-31 10:24:42 +08:00
parent a914de63c6
commit 70e5ac4898
1 changed files with 2 additions and 1 deletions

View File

@ -21,8 +21,9 @@ func alertAggrViewAdd(c *gin.Context) {
f.Id = 0 f.Id = 0
f.CreateBy = c.MustGet("userid").(int64) f.CreateBy = c.MustGet("userid").(int64)
ginx.Dangerous(f.Add())
ginx.NewRender(c).Message(f.Add()) ginx.NewRender(c).Data(f, nil)
} }
// body: ids // body: ids