Browse Source

本地常用的图片不显示

master
XiaXiang 8 years ago
parent
commit
f0b782d755
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/search/manager/PluginSearchManager.java

2
designer/src/com/fr/design/mainframe/alphafine/search/manager/PluginSearchManager.java

@ -105,7 +105,7 @@ public class PluginSearchManager implements AlphaFineSearchProcessor {
int pluginId = object.optInt("id"); int pluginId = object.optInt("id");
String imageUrl = null; String imageUrl = null;
try { try {
imageUrl = AlphaFineConstants.PLUGIN_IMAGE_URL + URLEncoder.encode(object.optString("pic").toString().substring(AlphaFineConstants.PLUGIN_IMAGE_URL.length()), "utf8"); imageUrl = isFromCloud? AlphaFineConstants.PLUGIN_IMAGE_URL + URLEncoder.encode(object.optString("pic").toString().substring(AlphaFineConstants.PLUGIN_IMAGE_URL.length()), "utf8") : object.optString("pic");
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {
FRLogger.getLogger().error(e.getMessage()); FRLogger.getLogger().error(e.getMessage());
} }

Loading…
Cancel
Save