zqbao 3 months ago
parent
commit
0bd6454871
1 changed files with 1 additions and 1 deletions
  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 != "" {