Browse Source

无jira任务,修复打包

fbp/merge
Destiny.Lin 3 months ago
parent
commit
b2f1965056
  1. 7
      designer-realize/src/main/java/com/fr/start/DesignLauncher.java

7
designer-realize/src/main/java/com/fr/start/DesignLauncher.java

@ -34,6 +34,11 @@ public class DesignLauncher extends XmlCarinaLauncher {
return context; return context;
} }
@Override
protected void initEncryption() throws CarinaException {
}
@Override @Override
protected void initTenant() throws CarinaException { protected void initTenant() throws CarinaException {
} }
@ -41,7 +46,7 @@ public class DesignLauncher extends XmlCarinaLauncher {
@Override @Override
protected void initServiceDiscovery() throws CarinaException { protected void initServiceDiscovery() throws CarinaException {
try { try {
Carina.properties(DiscoveryProperties.class).setServer("local"); Carina.properties(DiscoveryProperties.class).setType("local");
// 服务发现初始化 // 服务发现初始化
DiscoveryFactory.initialize(); DiscoveryFactory.initialize();
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save