恢复代码
This commit is contained in:
commit
dbe0821ecf
@ -104,7 +104,6 @@ public class EsGoodsSearchServiceImpl implements EsGoodsSearchService {
|
||||
@Override
|
||||
public List<String> getHotWords(Integer count) {
|
||||
List<String> hotWords = new ArrayList<>();
|
||||
//下表从0开始,所以count-1
|
||||
count = count - 1;
|
||||
Set<DefaultTypedTuple> set = cache.reverseRangeWithScores(CachePrefix.HOT_WORD.getPrefix(), count);
|
||||
if (set.isEmpty() || set == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user