fill objs when return alert event
This commit is contained in:
parent
2d15445482
commit
0f7a81ff11
|
@ -49,7 +49,9 @@ func alertEventGets(c *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func alertEventGet(c *gin.Context) {
|
func alertEventGet(c *gin.Context) {
|
||||||
renderData(c, AlertEvent(urlParamInt64(c, "id")), nil)
|
ae := AlertEvent(urlParamInt64(c, "id"))
|
||||||
|
dangerous(ae.FillObjs())
|
||||||
|
renderData(c, ae, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func alertEventDel(c *gin.Context) {
|
func alertEventDel(c *gin.Context) {
|
||||||
|
|
Loading…
Reference in New Issue