Browse Source

REPORT-51958 远程环境检测及同步

feature/10.0
pengda 3 years ago
parent
commit
319988ecf5
  1. 5
      designer-base/src/main/java/com/fr/design/VersionCheckUtils.java

5
designer-base/src/main/java/com/fr/design/VersionCheckUtils.java

@ -9,6 +9,7 @@ import com.fr.design.env.DesignerWorkspaceInfo;
import com.fr.design.env.DesignerWorkspaceType;
import com.fr.design.env.RemoteWorkspace;
import com.fr.design.i18n.Toolkit;
import com.fr.general.CloudCenter;
import com.fr.general.CommonIOUtils;
import com.fr.general.ComparatorUtils;
import com.fr.general.GeneralUtils;
@ -387,9 +388,7 @@ public class VersionCheckUtils {
}
version = differentPlugin.getString(VERSION);
try {
//url = CloudCenter.getInstance().acquireUrlByKind("sync10.plugin");
url = "http://192.168.5.83:3008/api/v1/plugin/download/history?pluginId={}&version={}";
url = StringUtils.messageFormat(url, id, version);
url = StringUtils.messageFormat(CloudCenter.getInstance().acquireUrlByKind("sync10.plugin"), id, version);
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}

Loading…
Cancel
Save