From e25586870710899d37da35f34b5920b0aa0ee389 Mon Sep 17 00:00:00 2001 From: chenchuchuan <13554600537@163.com> Date: Mon, 12 Oct 2026 10:56:08 +0800 Subject: [PATCH] =?UTF-8?q?chore(tenant-admin):=20=E7=A6=81=E7=94=A8=20Nac?= =?UTF-8?q?os=20=E6=9C=8D=E5=8A=A1=E5=8F=91=E7=8E=B0=E4=B8=8E=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除数据源自动配置排除项 - 添加 Nacos discovery.enabled 为 false 禁用服务发现 - 添加 Nacos config.enabled 为 false 禁用配置中心 - 移除外部配置文件导入项 --- application-tenant/tenant-admin/src/main/resources/bootstrap.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application-tenant/tenant-admin/src/main/resources/bootstrap.yml b/application-tenant/tenant-admin/src/main/resources/bootstrap.yml index fb06b27..94fc172 100644 --- a/application-tenant/tenant-admin/src/main/resources/bootstrap.yml +++ b/application-tenant/tenant-admin/src/main/resources/bootstrap.yml @@ -10,7 +10,12 @@ spring: exclude: - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - + cloud: + nacos: + discovery: + enabled: false + config: + enabled: false config: import: - classpath:tenant-admin-dev.yml