|
|
@ -29,7 +29,7 @@ public class TemplateResourceSearchManager { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static final String LOCAL_RESOURCE_URL = "/com/fr/design/mainframe/alphafine/template_resource/local_templates.json"; |
|
|
|
public static final String LOCAL_RESOURCE_URL = "/com/fr/design/mainframe/alphafine/template_resource/local_templates.json"; |
|
|
|
private static final FineMarketClientHelper helper = FineMarketClientHelper.getInstance(); |
|
|
|
private static final FineMarketClientHelper HELPER = FineMarketClientHelper.getInstance(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -40,7 +40,7 @@ public class TemplateResourceSearchManager { |
|
|
|
|
|
|
|
|
|
|
|
// 联网搜索
|
|
|
|
// 联网搜索
|
|
|
|
try { |
|
|
|
try { |
|
|
|
JSONArray jsonArray = helper.getTemplateInfoByName(searchText); |
|
|
|
JSONArray jsonArray = HELPER.getTemplateInfoByName(searchText); |
|
|
|
if (jsonArray != null && !jsonArray.isEmpty()) { |
|
|
|
if (jsonArray != null && !jsonArray.isEmpty()) { |
|
|
|
resourceList.addAll(TemplateResource.createByJson(jsonArray)); |
|
|
|
resourceList.addAll(TemplateResource.createByJson(jsonArray)); |
|
|
|
} |
|
|
|
} |
|
|
|