Browse Source

文章

master
huangjiajun 1 day ago
parent
commit
52db6006c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/svc/user_feedback/svc_cate.go

+ 1
- 1
app/svc/user_feedback/svc_cate.go View File

@@ -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
}


Loading…
Cancel
Save