zqbao 3 月之前
父節點
當前提交
0bd6454871
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/knowledge/resource.go

+ 1 - 1
controllers/knowledge/resource.go

@@ -585,7 +585,7 @@ func (this *ResourceController) Add() {
 				return
 			}
 		}
-		_, err, errMsg := knowledgeServ.AddResource(&req, sysUser)
+		_, err, errMsg := knowledgeSrv.AddResource(&req, sysUser)
 		if err != nil {
 			br.Msg = "保存失败"
 			if errMsg != "" {