Browse Source

Pull request #15011: 无jira任务,修复打包

Merge in DESIGN/design from ~DESTINY.LIN/design:fbp/release to fbp/release

* commit 'b2f1965056968a49cf230b857cb8388460300976':
  无jira任务,修复打包
fbp/release
Destiny.Lin-林锦龙 2 months ago
parent
commit
b86ac1a98b
  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