wangshan 3 anni fa
parent
commit
c368547165
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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