diff --git a/mall-oms/oms-boot/src/main/resources/bootstrap-prod.yml b/mall-oms/oms-boot/src/main/resources/bootstrap-prod.yml index c711d2a49..ea66b8c6f 100644 --- a/mall-oms/oms-boot/src/main/resources/bootstrap-prod.yml +++ b/mall-oms/oms-boot/src/main/resources/bootstrap-prod.yml @@ -11,11 +11,9 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id shared-configs[0]: data-id: youlai-common.yaml refresh: true diff --git a/mall-pms/pms-boot/src/main/resources/bootstrap-prod.yml b/mall-pms/pms-boot/src/main/resources/bootstrap-prod.yml index 1def8d5c3..ad21479a3 100644 --- a/mall-pms/pms-boot/src/main/resources/bootstrap-prod.yml +++ b/mall-pms/pms-boot/src/main/resources/bootstrap-prod.yml @@ -11,11 +11,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + # 公共配置 shared-configs[0]: data-id: youlai-common.yaml diff --git a/mall-sms/sms-boot/src/main/resources/bootstrap-prod.yml b/mall-sms/sms-boot/src/main/resources/bootstrap-prod.yml index 11084987c..9ea089202 100644 --- a/mall-sms/sms-boot/src/main/resources/bootstrap-prod.yml +++ b/mall-sms/sms-boot/src/main/resources/bootstrap-prod.yml @@ -11,11 +11,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + shared-configs[0]: data-id: youlai-common.yaml refresh: true \ No newline at end of file diff --git a/mall-ums/ums-boot/src/main/resources/bootstrap-prod.yml b/mall-ums/ums-boot/src/main/resources/bootstrap-prod.yml index f21f7768f..e186fd332 100644 --- a/mall-ums/ums-boot/src/main/resources/bootstrap-prod.yml +++ b/mall-ums/ums-boot/src/main/resources/bootstrap-prod.yml @@ -11,11 +11,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + shared-configs[0]: data-id: youlai-common.yaml refresh: true \ No newline at end of file diff --git a/youlai-admin/admin-boot/src/main/resources/bootstrap-prod.yml b/youlai-admin/admin-boot/src/main/resources/bootstrap-prod.yml index 996288cee..ed4d058e8 100644 --- a/youlai-admin/admin-boot/src/main/resources/bootstrap-prod.yml +++ b/youlai-admin/admin-boot/src/main/resources/bootstrap-prod.yml @@ -11,11 +11,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + shared-configs[0]: data-id: youlai-common.yaml refresh: true diff --git a/youlai-auth/src/main/resources/bootstrap-prod.yml b/youlai-auth/src/main/resources/bootstrap-prod.yml index 0dbfb406f..ff8574ea4 100644 --- a/youlai-auth/src/main/resources/bootstrap-prod.yml +++ b/youlai-auth/src/main/resources/bootstrap-prod.yml @@ -9,11 +9,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + shared-configs[0]: data-id: youlai-common.yaml refresh: true \ No newline at end of file diff --git a/youlai-gateway/src/main/resources/bootstrap-prod.yml b/youlai-gateway/src/main/resources/bootstrap-prod.yml index dc6e6be9e..008dd00eb 100644 --- a/youlai-gateway/src/main/resources/bootstrap-prod.yml +++ b/youlai-gateway/src/main/resources/bootstrap-prod.yml @@ -10,11 +10,11 @@ spring: nacos: discovery: server-addr: http://c.youlai.tech:8848 - namespace: prod_namespace_id + config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + shared-configs[0]: data-id: youlai-common.yaml refresh: true \ No newline at end of file diff --git a/youlai-laboratory/src/main/resources/bootstrap-prod.yml b/youlai-laboratory/src/main/resources/bootstrap-prod.yml index 0d03b1168..13fb27cd6 100644 --- a/youlai-laboratory/src/main/resources/bootstrap-prod.yml +++ b/youlai-laboratory/src/main/resources/bootstrap-prod.yml @@ -13,7 +13,7 @@ spring: config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: prod_namespace_id + # 公共配置 shared-configs[0]: data-id: youlai-common.yaml