From fd3d9d7a08d54ca8313c645011d9d245dd4aed71 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 15 Apr 2025 10:32:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4nacos=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 6 +++++ pom.xml | 24 +++++++++---------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/nursing-unit-system/nu-system-start/src/main/resources/application-dev.yml b/nursing-unit-system/nu-system-start/src/main/resources/application-dev.yml index c8aec9d..f3ffc71 100644 --- a/nursing-unit-system/nu-system-start/src/main/resources/application-dev.yml +++ b/nursing-unit-system/nu-system-start/src/main/resources/application-dev.yml @@ -20,6 +20,12 @@ management: include: metrics,jeecghttptrace spring: + application: + name: nursing-unit + cloud: + nacos: + discovery: + service-name: nursing-unit # flyway配置 flyway: # 是否启用flyway diff --git a/pom.xml b/pom.xml index 8840e97..6f40556 100644 --- a/pom.xml +++ b/pom.xml @@ -151,16 +151,16 @@ ${commonmark.version} - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - + + + + - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - + + + + @@ -476,13 +476,13 @@ dev - false + true dev - jeecg-boot-nacos:8848 + 121.0.0.1:8848 @@ -528,13 +528,13 @@ uat - true + false uat - 121.36.88.64 + nacos:8848