From 347137f249758ddec0a27cd6cf1ac8c4f4bca1b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BA=AE?= Date: Mon, 25 Aug 2025 17:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bonus-auth/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 20 +++++++------ bonus-gateway/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 29 +++++++++++-------- bonus-modules/bonus-bmw/pom.xml | 2 +- .../src/main/resources/bootstrap-dev.yml | 12 ++++++-- bonus-modules/bonus-file/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 10 +++---- bonus-modules/bonus-job/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 6 ++-- bonus-modules/bonus-system/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 12 ++++++-- bonus-modules/bonus-urk/pom.xml | 4 +-- .../src/main/resources/bootstrap-dev.yml | 13 ++++++--- 14 files changed, 77 insertions(+), 51 deletions(-) diff --git a/bonus-auth/pom.xml b/bonus-auth/pom.xml index 8eca41c..2fa2aae 100644 --- a/bonus-auth/pom.xml +++ b/bonus-auth/pom.xml @@ -8,10 +8,10 @@ 4.0.0 - bonus-auth + hd-realname-auth - bonus-auth认证授权中心 + hd-realname-auth认证授权中心 diff --git a/bonus-auth/src/main/resources/bootstrap-dev.yml b/bonus-auth/src/main/resources/bootstrap-dev.yml index b5f868a..254898d 100644 --- a/bonus-auth/src/main/resources/bootstrap-dev.yml +++ b/bonus-auth/src/main/resources/bootstrap-dev.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 18081 + port: 38081 # Spring spring: @@ -8,18 +8,20 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai - username: nacos - password: nacos + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_local config: # 配置中心地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai - username: nacos - password: nacos + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_local # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + username: nacos + password: nacos +#加密组件 +jasypt: + encryptor: + password: Encrypt diff --git a/bonus-gateway/pom.xml b/bonus-gateway/pom.xml index 95b2ad5..6ea6eec 100644 --- a/bonus-gateway/pom.xml +++ b/bonus-gateway/pom.xml @@ -8,9 +8,9 @@ 4.0.0 - bonus-gateway + hd-realname-gateway - bonus-gateway网关模块 + hd-realname-gateway网关模块 diff --git a/bonus-gateway/src/main/resources/bootstrap-dev.yml b/bonus-gateway/src/main/resources/bootstrap-dev.yml index bb1fe0d..3643a9f 100644 --- a/bonus-gateway/src/main/resources/bootstrap-dev.yml +++ b/bonus-gateway/src/main/resources/bootstrap-dev.yml @@ -1,40 +1,45 @@ # Tomcat server: - port: 18080 + port: 38080 +# Spring spring: cloud: nacos: discovery: # 服务注册地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai - username: nacos - password: nacos + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_dev config: # 配置中心地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai - username: nacos - password: nacos + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + username: nacos + password: nacos sentinel: # 取消控制台懒加载 eager: true transport: # 控制台地址 - dashboard: 192.168.0.16:18858 + dashboard: 127.0.0.1:18858 # nacos配置持久化 datasource: ds1: nacos: - server-addr: 192.168.0.16:18848 - namespace: bonus-ai + server-addr: 127.0.0.1:18848 + namespace: rela_name_system dataId: sentinel-bonus-gateway groupId: DEFAULT_GROUP data-type: json rule-type: gw-flow + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-modules/bonus-bmw/pom.xml b/bonus-modules/bonus-bmw/pom.xml index 5742b3b..08afd61 100644 --- a/bonus-modules/bonus-bmw/pom.xml +++ b/bonus-modules/bonus-bmw/pom.xml @@ -9,7 +9,7 @@ 24.12.0-SNAPSHOT - bonus-bmw + hd-realname-bmw 8 diff --git a/bonus-modules/bonus-bmw/src/main/resources/bootstrap-dev.yml b/bonus-modules/bonus-bmw/src/main/resources/bootstrap-dev.yml index b4ece04..23b5ba4 100644 --- a/bonus-modules/bonus-bmw/src/main/resources/bootstrap-dev.yml +++ b/bonus-modules/bonus-bmw/src/main/resources/bootstrap-dev.yml @@ -1,22 +1,28 @@ # Tomcat server: - port: 18082 + port: 38083 # Spring spring: cloud: nacos: + username: nacos + password: nacos discovery: # 服务注册地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev config: # 配置中心地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} +#加密组件 +jasypt: + encryptor: + password: Encrypt diff --git a/bonus-modules/bonus-file/pom.xml b/bonus-modules/bonus-file/pom.xml index 5a8d632..63f8e6d 100644 --- a/bonus-modules/bonus-file/pom.xml +++ b/bonus-modules/bonus-file/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - bonus-file + hd-realname-file - bonus-modules-file文件服务 + hd-realname-file文件服务 diff --git a/bonus-modules/bonus-file/src/main/resources/bootstrap-dev.yml b/bonus-modules/bonus-file/src/main/resources/bootstrap-dev.yml index 552a102..b99d88d 100644 --- a/bonus-modules/bonus-file/src/main/resources/bootstrap-dev.yml +++ b/bonus-modules/bonus-file/src/main/resources/bootstrap-dev.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 9300 + port: 39300 # Spring spring: @@ -10,12 +10,12 @@ spring: password: nacos discovery: # 服务注册地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_dev config: # 配置中心地址 - server-addr: 192.168.0.16:18848 - namespace: bonus-ai + server-addr: 192.168.0.14:8848 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 diff --git a/bonus-modules/bonus-job/pom.xml b/bonus-modules/bonus-job/pom.xml index 11efb4f..5bd721a 100644 --- a/bonus-modules/bonus-job/pom.xml +++ b/bonus-modules/bonus-job/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - bonus-job + hd-realname-job - bonus-modules-job定时任务 + hd-realname-job定时任务 diff --git a/bonus-modules/bonus-job/src/main/resources/bootstrap-dev.yml b/bonus-modules/bonus-job/src/main/resources/bootstrap-dev.yml index 7fb104e..e3065e9 100644 --- a/bonus-modules/bonus-job/src/main/resources/bootstrap-dev.yml +++ b/bonus-modules/bonus-job/src/main/resources/bootstrap-dev.yml @@ -8,13 +8,15 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev config: # 配置中心地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + username: nacos + password: nacos diff --git a/bonus-modules/bonus-system/pom.xml b/bonus-modules/bonus-system/pom.xml index 54ff5b4..f304c52 100644 --- a/bonus-modules/bonus-system/pom.xml +++ b/bonus-modules/bonus-system/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - bonus-system + hd-realname-system - bonus-modules-system系统模块 + hd-realname-system系统模块 diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-dev.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-dev.yml index b4ece04..19049f9 100644 --- a/bonus-modules/bonus-system/src/main/resources/bootstrap-dev.yml +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-dev.yml @@ -1,22 +1,28 @@ # Tomcat server: - port: 18082 + port: 38082 # Spring spring: cloud: nacos: + username: nacos + password: nacos discovery: # 服务注册地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev config: # 配置中心地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} +#加密组件 +jasypt: + encryptor: + password: Encrypt diff --git a/bonus-modules/bonus-urk/pom.xml b/bonus-modules/bonus-urk/pom.xml index bcf7819..413f41f 100644 --- a/bonus-modules/bonus-urk/pom.xml +++ b/bonus-modules/bonus-urk/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - bonus-urk + hd-realname-urk - bonus-modules-urk考勤服务系统 + hd-realname-urk考勤服务系统 diff --git a/bonus-modules/bonus-urk/src/main/resources/bootstrap-dev.yml b/bonus-modules/bonus-urk/src/main/resources/bootstrap-dev.yml index b4ece04..7dfc7ea 100644 --- a/bonus-modules/bonus-urk/src/main/resources/bootstrap-dev.yml +++ b/bonus-modules/bonus-urk/src/main/resources/bootstrap-dev.yml @@ -1,22 +1,27 @@ # Tomcat server: - port: 18082 - + port: 38085 # Spring spring: cloud: nacos: + username: nacos + password: nacos discovery: # 服务注册地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev config: # 配置中心地址 server-addr: 192.168.0.14:8848 - namespace: f648524d-0a7b-449e-8f92-64e05236fd51 + namespace: huadong_realname_dev # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} +#加密组件 +jasypt: + encryptor: + password: Encrypt