|
|
@ -41,7 +41,7 @@ public class RecommendSearchManager implements AlphaFineSearchProcessor { |
|
|
|
this.recommendModelList = new SearchResult(); |
|
|
|
this.recommendModelList = new SearchResult(); |
|
|
|
if (DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isContainRecommend()) { |
|
|
|
if (DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isContainRecommend()) { |
|
|
|
String result; |
|
|
|
String result; |
|
|
|
HttpClient httpClient = new HttpClient(AlphaFineConstants.SEARCHAPI + CodeUtils.cjkEncode(searchText)); |
|
|
|
HttpClient httpClient = new HttpClient(AlphaFineConstants.SEARCH_API + CodeUtils.cjkEncode(searchText)); |
|
|
|
httpClient.asGet(); |
|
|
|
httpClient.asGet(); |
|
|
|
if (!httpClient.isServerAlive()) { |
|
|
|
if (!httpClient.isServerAlive()) { |
|
|
|
return getNoConnectList(); |
|
|
|
return getNoConnectList(); |
|
|
|