|
|
|
@ -52,8 +52,10 @@ public class RecommendSearchManager implements AlphaFineSearchProvider {
|
|
|
|
|
if (DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isContainRecommend()) { |
|
|
|
|
if (ArrayUtils.isEmpty(searchText)) { |
|
|
|
|
return new SearchResult(); |
|
|
|
|
} else if(!AlphaFineHelper.isNetworkOk()){ |
|
|
|
|
return AlphaFineHelper.getNoConnectList(instance); |
|
|
|
|
} |
|
|
|
|
SearchResult noConnectList = AlphaFineHelper.getNoConnectList(instance); |
|
|
|
|
if(noConnectList != null){ |
|
|
|
|
return noConnectList; |
|
|
|
|
} |
|
|
|
|
for (int j = 0; j < searchText.length; j++) { |
|
|
|
|
searchText[j] = searchText[j].replaceAll(StringUtils.BLANK, StringUtils.EMPTY); |
|
|
|
|