From 1e9c1bd054688472cbe5509882a728bccba673c4 Mon Sep 17 00:00:00 2001 From: PIG AI Date: Mon, 16 Jun 2025 10:09:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(boot-config):=20=E7=A6=81=E7=94=A8Spring?= =?UTF-8?q?=20Cloud=E6=9C=8D=E5=8A=A1=E5=8F=91=E7=8E=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在application.yml中设置spring.cloud.discovery.enabled为false - 保持与原有nacos配置一致的禁用状态 --- pigx-boot/src/main/resources/application.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pigx-boot/src/main/resources/application.yml b/pigx-boot/src/main/resources/application.yml index fd19285bd..17e6239d2 100644 --- a/pigx-boot/src/main/resources/application.yml +++ b/pigx-boot/src/main/resources/application.yml @@ -15,6 +15,8 @@ spring: max-file-size: 100MB max-request-size: 100MB cloud: + discovery: + enabled: false nacos: config.enabled: false discovery.enabled: false