diff --git a/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/application.yml b/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/application.yml index 987f7a44..7e3cbb2a 100644 --- a/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/application.yml +++ b/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/application.yml @@ -13,6 +13,8 @@ spring: nacos: config: server-addr: @config.server-addr@ + group: @config.group@ + namespace: @config.namespace@ discovery: server-addr: ${spring.cloud.nacos.config.server-addr} gateway: diff --git a/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/application.yml b/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/application.yml index 9632ac27..87c06050 100644 --- a/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/application.yml +++ b/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/application.yml @@ -8,6 +8,8 @@ spring: nacos: config: server-addr: @config.server-addr@ + group: @config.group@ + namespace: @config.namespace@ discovery: server-addr: ${spring.cloud.nacos.config.server-addr} config: diff --git a/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/application.yml b/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/application.yml index 32483d41..7842d376 100644 --- a/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/application.yml +++ b/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/application.yml @@ -8,6 +8,8 @@ spring: nacos: config: server-addr: @config.server-addr@ + group: @config.group@ + namespace: @config.namespace@ discovery: server-addr: ${spring.cloud.nacos.config.server-addr} config: diff --git a/pom.xml b/pom.xml index 218f8962..d56e3caa 100644 --- a/pom.xml +++ b/pom.xml @@ -428,6 +428,10 @@ dev jeecg-boot-nacos:8848 + + + + DEFAULT_GROUP @@ -438,6 +442,10 @@ test jeecg-boot-nacos:8848 + + + + DEFAULT_GROUP @@ -448,6 +456,10 @@ prod jeecg-boot-nacos:8848 + + + + DEFAULT_GROUP