diff --git a/agileboot-common/pom.xml b/agileboot-common/pom.xml
index c5f2924..73e0f92 100644
--- a/agileboot-common/pom.xml
+++ b/agileboot-common/pom.xml
@@ -18,6 +18,7 @@
wol-common-redis
wol-common-json
wol-common-satoken
+ wol-common-naocs
pom
diff --git a/agileboot-common/wol-common-naocs/pom.xml b/agileboot-common/wol-common-naocs/pom.xml
index f871c20..0f08dea 100644
--- a/agileboot-common/wol-common-naocs/pom.xml
+++ b/agileboot-common/wol-common-naocs/pom.xml
@@ -3,13 +3,11 @@
4.0.0
com.agileboot
- agileboot
+ agileboot-common
1.0.0
- ../../pom.xml
wol-common-naocs
- jar
wol-common-naocs
http://maven.apache.org
diff --git a/agileboot-common/wol-common-naocs/src/main/resources/bootstrap.yaml b/agileboot-common/wol-common-naocs/src/main/resources/bootstrap.yaml
deleted file mode 100644
index e69de29..0000000
diff --git a/agileboot-common/wol-common-naocs/src/main/resources/nacos.yaml b/agileboot-common/wol-common-naocs/src/main/resources/nacos.yaml
new file mode 100644
index 0000000..dc6a973
--- /dev/null
+++ b/agileboot-common/wol-common-naocs/src/main/resources/nacos.yaml
@@ -0,0 +1,14 @@
+spring:
+ cloud:
+ nacos:
+ config:
+ server-addr: http://192.168.12.168:8848 # 指定 Nacos 配置中心的服务器地址
+ group: DEFAULT_GROUP # 所属组
+ namespace: public # 命名空间
+ file-extension: yaml # 配置文件格式
+ refresh-enabled: true # 是否开启动态刷新
+ discovery:
+ enabled: true # 启用服务发现
+ group: DEFAULT_GROUP # 所属组
+ namespace: public # 命名空间
+ server-addr: http://192.168.12.168:8848 # 指定 Nacos 配置中心的服务器地址
\ No newline at end of file
diff --git a/agileboot-system/wol-gateway/src/main/resources/bootstrap.yaml b/agileboot-system/wol-gateway/src/main/resources/bootstrap.yaml
index c514f3b..ccfde79 100644
--- a/agileboot-system/wol-gateway/src/main/resources/bootstrap.yaml
+++ b/agileboot-system/wol-gateway/src/main/resources/bootstrap.yaml
@@ -1,14 +1,3 @@
spring:
- cloud:
- nacos:
- config:
- server-addr: http://192.168.12.168:8848 # 指定 Nacos 配置中心的服务器地址
- group: DEFAULT_GROUP # 所属组
- namespace: public # 命名空间
- file-extension: yaml # 配置文件格式
- refresh-enabled: true # 是否开启动态刷新
- discovery:
- enabled: true # 启用服务发现
- group: DEFAULT_GROUP # 所属组
- namespace: public # 命名空间
- server-addr: http://192.168.12.168:8848 # 指定 Nacos 配置中心的服务器地址
+ config:
+ import: classpath:nacos.yml
\ No newline at end of file