From 87cde33933fa658fc8030fbfb89b5fdd15fa269d Mon Sep 17 00:00:00 2001 From: dongtiandexue Date: Sun, 1 Aug 2021 17:15:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:bootstrap-dev.yml=20=E6=94=B9=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall-oms/oms-boot/src/main/resources/bootstrap-dev.yml | 6 +++--- mall-pms/pms-boot/src/main/resources/bootstrap-dev.yml | 6 +++--- mall-sms/sms-boot/src/main/resources/bootstrap-dev.yml | 6 +++--- mall-ums/ums-boot/src/main/resources/bootstrap-dev.yml | 6 +++--- .../admin-boot/src/main/resources/bootstrap-dev.yml | 6 +++--- youlai-auth/src/main/resources/bootstrap-dev.yml | 8 ++++---- youlai-gateway/src/main/resources/bootstrap-dev.yml | 10 ++++------ 7 files changed, 23 insertions(+), 25 deletions(-) diff --git a/mall-oms/oms-boot/src/main/resources/bootstrap-dev.yml b/mall-oms/oms-boot/src/main/resources/bootstrap-dev.yml index debd5977f..4f9334e86 100644 --- a/mall-oms/oms-boot/src/main/resources/bootstrap-dev.yml +++ b/mall-oms/oms-boot/src/main/resources/bootstrap-dev.yml @@ -6,11 +6,11 @@ spring: name: mall-oms cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: dev_namespace_id diff --git a/mall-pms/pms-boot/src/main/resources/bootstrap-dev.yml b/mall-pms/pms-boot/src/main/resources/bootstrap-dev.yml index f135fdc0e..cb694823f 100644 --- a/mall-pms/pms-boot/src/main/resources/bootstrap-dev.yml +++ b/mall-pms/pms-boot/src/main/resources/bootstrap-dev.yml @@ -6,13 +6,13 @@ spring: name: mall-pms cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: dev_namespace_id diff --git a/mall-sms/sms-boot/src/main/resources/bootstrap-dev.yml b/mall-sms/sms-boot/src/main/resources/bootstrap-dev.yml index c3b390b0a..77f33df05 100644 --- a/mall-sms/sms-boot/src/main/resources/bootstrap-dev.yml +++ b/mall-sms/sms-boot/src/main/resources/bootstrap-dev.yml @@ -6,10 +6,10 @@ spring: name: mall-sms cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: dev_namespace_id diff --git a/mall-ums/ums-boot/src/main/resources/bootstrap-dev.yml b/mall-ums/ums-boot/src/main/resources/bootstrap-dev.yml index ed5f1a182..6e7b5cbfb 100644 --- a/mall-ums/ums-boot/src/main/resources/bootstrap-dev.yml +++ b/mall-ums/ums-boot/src/main/resources/bootstrap-dev.yml @@ -6,10 +6,10 @@ spring: name: mall-ums cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: dev_namespace_id diff --git a/youlai-admin/admin-boot/src/main/resources/bootstrap-dev.yml b/youlai-admin/admin-boot/src/main/resources/bootstrap-dev.yml index 1e60859f2..3166edb90 100644 --- a/youlai-admin/admin-boot/src/main/resources/bootstrap-dev.yml +++ b/youlai-admin/admin-boot/src/main/resources/bootstrap-dev.yml @@ -6,10 +6,10 @@ spring: name: youlai-admin cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml - namespace: dev_namespace_id diff --git a/youlai-auth/src/main/resources/bootstrap-dev.yml b/youlai-auth/src/main/resources/bootstrap-dev.yml index c063c4d21..5fbd4e657 100644 --- a/youlai-auth/src/main/resources/bootstrap-dev.yml +++ b/youlai-auth/src/main/resources/bootstrap-dev.yml @@ -6,10 +6,10 @@ spring: name: youlai-auth cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} - file-extension: yaml - namespace: dev_namespace_id \ No newline at end of file + file-extension: yaml \ No newline at end of file diff --git a/youlai-gateway/src/main/resources/bootstrap-dev.yml b/youlai-gateway/src/main/resources/bootstrap-dev.yml index ff22d2d6f..a7d7075e0 100644 --- a/youlai-gateway/src/main/resources/bootstrap-dev.yml +++ b/youlai-gateway/src/main/resources/bootstrap-dev.yml @@ -2,16 +2,14 @@ server: port: 9999 spring: - main: - allow-bean-definition-overriding: true application: name: youlai-gateway cloud: nacos: + # 注册中心 discovery: - server-addr: http://47.104.214.204:8848 - namespace: dev_namespace_id + server-addr: http://localhost:8848 + # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} - file-extension: yaml - namespace: dev_namespace_id + file-extension: yaml \ No newline at end of file