Showing
1 changed file
with
1 additions
and
1 deletions
@@ -130,7 +130,7 @@ public class ProductListServiceImpl implements IProductListService { | @@ -130,7 +130,7 @@ public class ProductListServiceImpl implements IProductListService { | ||
130 | // 1. 判断是否需要进行term推荐 | 130 | // 1. 判断是否需要进行term推荐 |
131 | // 1.1 query不为空 | 131 | // 1.1 query不为空 |
132 | String queryWord = paramMap.get(SearchRequestParams.PARAM_SEARCH_KEYWORD); | 132 | String queryWord = paramMap.get(SearchRequestParams.PARAM_SEARCH_KEYWORD); |
133 | - if (StringUtils.isEmpty(queryWord) || queryWord.length() > 30) { | 133 | + if (StringUtils.isEmpty(queryWord) || (queryWord.length() > 30 && !searchCommonHelper.isQuerySkn(queryWord))) { |
134 | return false; | 134 | return false; |
135 | } | 135 | } |
136 | 136 |
-
Please register or login to post a comment