提交 b838cb1c 编写于 作者: U Ulric Qin

return last insert object of metric view

上级 7eb665e4
......@@ -22,7 +22,9 @@ func metricViewAdd(c *gin.Context) {
f.Id = 0
f.CreateBy = c.MustGet("userid").(int64)
ginx.NewRender(c).Message(f.Add())
ginx.Dangerous(f.Add())
ginx.NewRender(c).Data(f, nil)
}
// body: ids
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册