|
|
@ -30,6 +30,7 @@ public class ComplementAdviceManager { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 从接口中获取补全建议结果 |
|
|
|
* 从接口中获取补全建议结果 |
|
|
|
|
|
|
|
* |
|
|
|
* @param searchText |
|
|
|
* @param searchText |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -45,7 +46,7 @@ public class ComplementAdviceManager { |
|
|
|
AlphaFineHelper.checkCancel(); |
|
|
|
AlphaFineHelper.checkCancel(); |
|
|
|
allModelList = AlphaFineHelper.getModelListFromJSONArray(result, "keywords"); |
|
|
|
allModelList = AlphaFineHelper.getModelListFromJSONArray(result, "keywords"); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().debug("complement advice search error: " + e.getMessage()); |
|
|
|
FineLoggerFactory.getLogger().debug("complement advice search error. search str {}", searchText[j]); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (searchResult.isEmpty()) { |
|
|
|
if (searchResult.isEmpty()) { |
|
|
|