Parcourir la source

fix:知识资源es搜索

zqbao il y a 6 mois
Parent
commit
4fe5dfc81e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/knowledge/es.go

+ 1 - 1
services/knowledge/es.go

@@ -37,7 +37,7 @@ func SearchKnowledgeResourceByEs(resourceType int, keywordStr string, showSysIds
 	if len(showSysIds) > 0 {
 		mustMap = append(mustMap, map[string]interface{}{
 			"terms": map[string]interface{}{
-				"SysUserId": showSysIds,
+				"AdminId": showSysIds,
 			},
 		})
 	}