From d43a80046bd3d91b52e46f7233d3f7f199adc125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Thu, 10 Feb 2022 23:54:54 +0800 Subject: [PATCH] =?UTF-8?q?docs(bootstrap-prod.yml):=20=E4=BF=AE=E6=94=B9n?= =?UTF-8?q?acos=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall-oms/oms-boot/src/main/resources/bootstrap-prod.yml | 2 -- mall-pms/pms-boot/src/main/resources/bootstrap-prod.yml | 4 ++-- mall-sms/sms-boot/src/main/resources/bootstrap-prod.yml | 4 ++-- mall-ums/ums-boot/src/main/resources/bootstrap-prod.yml | 4 ++-- youlai-admin/admin-boot/src/main/resources/bootstrap-prod.yml | 4 ++-- youlai-auth/src/main/resources/bootstrap-prod.yml | 4 ++-- youlai-gateway/src/main/resources/bootstrap-prod.yml | 4 ++-- youlai-laboratory/src/main/resources/bootstrap-prod.yml | 2 +- 8 files changed, 13 insertions(+), 15 deletions(-) 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