diff --git a/designer-realize/src/main/java/com/fr/start/DesignLauncher.java b/designer-realize/src/main/java/com/fr/start/DesignLauncher.java index 4dbc59f4ed..b62d546972 100644 --- a/designer-realize/src/main/java/com/fr/start/DesignLauncher.java +++ b/designer-realize/src/main/java/com/fr/start/DesignLauncher.java @@ -34,6 +34,11 @@ public class DesignLauncher extends XmlCarinaLauncher { return context; } + @Override + protected void initEncryption() throws CarinaException { + + } + @Override protected void initTenant() throws CarinaException { } @@ -41,7 +46,7 @@ public class DesignLauncher extends XmlCarinaLauncher { @Override protected void initServiceDiscovery() throws CarinaException { try { - Carina.properties(DiscoveryProperties.class).setServer("local"); + Carina.properties(DiscoveryProperties.class).setType("local"); // 服务发现初始化 DiscoveryFactory.initialize(); } catch (Exception e) {