From fa887867c56553f8adcb756ebe57e44af23219b1 Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Fri, 17 Jul 2026 13:29:47 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B5=8B=E8=AF=95nacos=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nl-gateway/src/main/resources/application-test.yaml | 4 ++-- .../src/main/resources/application-test.yaml | 4 ++-- .../src/main/resources/application-test.yaml | 4 ++-- .../src/main/resources/application-test.yaml | 8 ++++---- .../src/main/resources/application-test.yaml | 4 ++-- .../src/main/resources/application-test.yaml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/nl-gateway/src/main/resources/application-test.yaml b/nl-gateway/src/main/resources/application-test.yaml index 4e6f7930..b54d68ac 100644 --- a/nl-gateway/src/main/resources/application-test.yaml +++ b/nl-gateway/src/main/resources/application-test.yaml @@ -7,10 +7,10 @@ spring: username: nacos password: nacos discovery: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP config: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 监控相关配置 #################### diff --git a/nl-module-base/nl-module-base-server/src/main/resources/application-test.yaml b/nl-module-base/nl-module-base-server/src/main/resources/application-test.yaml index ab781cd6..22e0a157 100644 --- a/nl-module-base/nl-module-base-server/src/main/resources/application-test.yaml +++ b/nl-module-base/nl-module-base-server/src/main/resources/application-test.yaml @@ -7,12 +7,12 @@ spring: username: nacos password: nacos discovery: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP metadata: version: 1.0.0 # 服务实例的版本号,可用于灰度发布 config: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 数据库相关配置 #################### diff --git a/nl-module-lms/nl-module-lms-server/src/main/resources/application-test.yaml b/nl-module-lms/nl-module-lms-server/src/main/resources/application-test.yaml index 5658794f..6d723ef0 100644 --- a/nl-module-lms/nl-module-lms-server/src/main/resources/application-test.yaml +++ b/nl-module-lms/nl-module-lms-server/src/main/resources/application-test.yaml @@ -7,12 +7,12 @@ spring: username: nacos password: nacos discovery: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP metadata: version: 1.0.0 # 服务实例的版本号,可用于灰度发布 config: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 数据库相关配置 #################### diff --git a/nl-module-system/nl-module-system-server/src/main/resources/application-test.yaml b/nl-module-system/nl-module-system-server/src/main/resources/application-test.yaml index aa6af0dd..1fad12cf 100644 --- a/nl-module-system/nl-module-system-server/src/main/resources/application-test.yaml +++ b/nl-module-system/nl-module-system-server/src/main/resources/application-test.yaml @@ -4,15 +4,15 @@ spring: cloud: nacos: server-addr: 192.168.81.193:8848 # Nacos 服务器地址 - username: nacos# Nacos 账号 - password: nacos# Nacos 密码 + username: nacos + password: nacos discovery: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP metadata: version: 1.0.0 # 服务实例的版本号,可用于灰度发布 config: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 数据库相关配置 #################### diff --git a/nl-module-task/nl-module-task-server/src/main/resources/application-test.yaml b/nl-module-task/nl-module-task-server/src/main/resources/application-test.yaml index dcba8642..93f9c6f0 100644 --- a/nl-module-task/nl-module-task-server/src/main/resources/application-test.yaml +++ b/nl-module-task/nl-module-task-server/src/main/resources/application-test.yaml @@ -7,12 +7,12 @@ spring: username: nacos password: nacos discovery: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP metadata: version: 1.0.0 # 服务实例的版本号,可用于灰度发布 config: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 数据库相关配置 #################### diff --git a/nl-module-wms/nl-module-wms-server/src/main/resources/application-test.yaml b/nl-module-wms/nl-module-wms-server/src/main/resources/application-test.yaml index 7c03eb65..d03d287e 100644 --- a/nl-module-wms/nl-module-wms-server/src/main/resources/application-test.yaml +++ b/nl-module-wms/nl-module-wms-server/src/main/resources/application-test.yaml @@ -7,12 +7,12 @@ spring: username: nacos password: nacos discovery: # 【配置中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP metadata: version: 1.0.0 # 服务实例的版本号,可用于灰度发布 config: # 【注册中心】配置项 - namespace: test # 命名空间。这里使用 dev 开发环境 + namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境 group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP --- #################### 数据库相关配置 ####################