Explorar el Código

fix:二次搜索

wangshan hace 3 años
padre
commit
c368547165
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      jyBXCore/rpc/util/search.go

+ 2 - 0
jyBXCore/rpc/util/search.go

@@ -616,6 +616,8 @@ func DelRepeatSearchData(resOne, resTwo []*bxcore.SearchList) []*bxcore.SearchLi
 			}
 		}
 		resOne = append(resOne, resTwo...)
+	} else {
+		resOne = append(resOne, resTwo...)
 	}
 	//sort.Slice(resOne, func(i, j int) bool {
 	//	return resOne[i].PublishTime > resOne[j].PublishTime