|
-func SearchKnowledgeResourceByEs(resourceType int, keywordStr string, showSysIds []int, myId int, classifyIds []int, sourceList []string, tagIds []int, isIncludeFile, isQueryRef bool, from, size int) (list []*knowledge.KnowledgeResource, total int64, err error) {
|
|
+func SearchKnowledgeResourceByEs(resourceType int, keywordStr string, showSysIds []int, myId int, classifyIds []int, sourceList []string, tagIds []int, isShowMe, isIncludeFile, isQueryRef bool, from, size int) (list []*knowledge.KnowledgeResource, total int64, err error) {
|
|
list = make([]*knowledge.KnowledgeResource, 0)
|
|
list = make([]*knowledge.KnowledgeResource, 0)
|
|
@@ -79,7 +79,7 @@ func SearchKnowledgeResourceByEs(resourceType int, keywordStr string, showSysIds
|
|
mustMap = append(mustMap, map[string]interface{}{
|
|
mustMap = append(mustMap, map[string]interface{}{
|