Browse Source

fix:知识资源es搜索

zqbao 6 tháng trước cách đây
mục cha
commit
4fe5dfc81e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
 			},
 		})
 	}