diff --git a/app/svc/user_feedback/svc_cate.go b/app/svc/user_feedback/svc_cate.go index 29067e9..cc877fa 100644 --- a/app/svc/user_feedback/svc_cate.go +++ b/app/svc/user_feedback/svc_cate.go @@ -55,7 +55,7 @@ func CateSave(c *gin.Context) { } data.Name = req.Name data.Sort = utils.StrToInt(req.Sort) - db.Db.Where("id=?", data.Id).Update(data) + db.Db.Where("id=?", data.Id).AllCols().Update(data) e.OutSuc(c, "success", nil) return }