Browse Source

REPORT-75093 运营产品化二期

修改pr
security/10.0
Link.Zhao 2 years ago
parent
commit
8774c3733f
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java
  2. 4
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java
  3. 3
      designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java

4
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java

@ -125,7 +125,7 @@ public class FineMarketDownloadManager {
/** /**
* 下载失败 * 下载失败
* */ */
public void downloadFailed() { public void downloadFailed() {
downloadingToast.setVisible(false); downloadingToast.setVisible(false);
showFailedToast(); showFailedToast();
@ -133,7 +133,7 @@ public class FineMarketDownloadManager {
/** /**
* 下载成功 * 下载成功
* */ */
public void downloadSuccess() { public void downloadSuccess() {
downloadingToast.setVisible(false); downloadingToast.setVisible(false);
} }

4
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/TemplateResourceSearchManager.java

@ -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));
} }

3
designer-realize/src/main/java/com/fr/market/key/FineMarketDefaultKeyProperties.java

@ -32,6 +32,9 @@ public class FineMarketDefaultKeyProperties {
load(); load();
} }
/**
* 构造方法
*/
public static FineMarketDefaultKeyProperties create(String propertyPath) { public static FineMarketDefaultKeyProperties create(String propertyPath) {
return new FineMarketDefaultKeyProperties(propertyPath); return new FineMarketDefaultKeyProperties(propertyPath);
} }

Loading…
Cancel
Save