mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
♻️ Refactoring code. up nacos 2.2.4
This commit is contained in:
1 parent
79b1ea04cf
commit
e0f3956c2f
3 files changed
+3
-3
No files matched your search
@@ -27,7 +27,7 @@
|
||||
<description>nacos 注册配置中心</description>
|
||||
|
||||
<properties>
|
||||
<nacos.version>2.2.4</nacos.version>
|
||||
<nacos.version>2.2.4-OEM</nacos.version>
|
||||
<spring-boot-dependencies.version>2.7.12</spring-boot-dependencies.version>
|
||||
<spring-cloud.version>2021.0.8</spring-cloud.version>
|
||||
<spring-boot-admin.version>2.7.8</spring-boot-admin.version>
|
||||
|
||||
@@ -43,7 +43,7 @@ public class PigxNacosApplication {
|
||||
*/
|
||||
private static boolean initEnv() {
|
||||
System.setProperty(ConfigConstants.STANDALONE_MODE, "true");
|
||||
System.setProperty(ConfigConstants.AUTH_ENABLED, "false");
|
||||
System.setProperty(ConfigConstants.AUTH_ENABLED, "true");
|
||||
System.setProperty(ConfigConstants.LOG_BASEDIR, "logs");
|
||||
System.setProperty(ConfigConstants.LOG_ENABLED, "false");
|
||||
System.setProperty(ConfigConstants.NACOS_CONTEXT_PATH, "/nacos");
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ public class ClientDetailsInitRunner implements InitializingBean {
|
||||
@Async
|
||||
@Order
|
||||
@EventListener({ WebServerInitializedEvent.class })
|
||||
public void WebServerInit() {
|
||||
public void webServerInit() {
|
||||
this.initClientDetails();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user