Browse Source

文章

master
huangjiajun 1 day ago
parent
commit
8f505e0114
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/svc/article/svc_cate.go

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

@@ -69,7 +69,7 @@ func CateSave(c *gin.Context) {
data.Sort = utils.StrToInt(req.Sort) data.Sort = utils.StrToInt(req.Sort)
data.Pid = utils.StrToInt(req.Pid) data.Pid = utils.StrToInt(req.Pid)
data.IsShow = utils.StrToInt(req.IsShow) data.IsShow = utils.StrToInt(req.IsShow)
db.Db.Where("id=?", data.Id).Update(data)
db.Db.Where("id=?", data.Id).AllCols().Update(data)
e.OutSuc(c, "success", nil) e.OutSuc(c, "success", nil)
return return
} }


Loading…
Cancel
Save