fix🐛: merge 的遗漏

This commit is contained in:
zhangwenjian committed 2021-06-13 23:20:30 +08:00
1 parent a3507998f7
commit 273f2ba8b0
5 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ func (e SysFileDir) Update(c *gin.Context) {
serviceSysFileDir := service.SysFileDir{}
serviceSysFileDir.Orm = db
serviceSysFileDir.Log = log
err = serviceSysFileDir.UpdateSysFileDir(control, p)
err = serviceSysFileDir.Update(control, p)
if err != nil {
log.Errorf("UpdateSysFileDir error, %s", err)
e.Error(http.StatusInternalServerError, err, "更新失败")