From 71eb920296bbe75476b0d6a0611c9a70e999fcd8 Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Fri, 19 Sep 2025 10:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E8=B0=83=E6=95=B4=E5=91=BD=E5=90=8D=E7=A9=BA?= =?UTF-8?q?=E9=97=B4=E4=B8=BAmaterial=5Fmall=5Fshanxi=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bootstrap-material_mall_test.yml | 28 ++++++++++++ bonus-auth/src/main/resources/bootstrap.yml | 2 +- .../bootstrap-material_mall_test.yml | 44 +++++++++++++++++++ .../src/main/resources/bootstrap.yml | 2 +- .../bootstrap-material_mall_test.yml | 27 ++++++++++++ .../src/main/resources/bootstrap.yml | 2 +- 6 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 bonus-auth/src/main/resources/bootstrap-material_mall_test.yml create mode 100644 bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml create mode 100644 bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml diff --git a/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml b/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..ad84584 --- /dev/null +++ b/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,28 @@ +# Tomcat +server: + port: 28081 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-auth/src/main/resources/bootstrap.yml b/bonus-auth/src/main/resources/bootstrap.yml index 7051969..c226a7c 100644 --- a/bonus-auth/src/main/resources/bootstrap.yml +++ b/bonus-auth/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-auth profiles: # 环境配置 - active: dev + active: material_mall_test #加密组件 jasypt: diff --git a/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml b/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..be0abdb --- /dev/null +++ b/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,44 @@ +# Tomcat +server: + port: 18080 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + sentinel: + # 取消控制台懒加载 + eager: true + transport: + # 控制台地址 + dashboard: 127.0.0.1:18858 + # nacos配置持久化 + datasource: + ds1: + nacos: + server-addr: 127.0.0.1:8848 + namespace: sgzb_bns + dataId: sentinel-bonus-gateway + groupId: DEFAULT_GROUP + data-type: json + rule-type: gw-flow + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-gateway/src/main/resources/bootstrap.yml b/bonus-gateway/src/main/resources/bootstrap.yml index 1766a04..2e669b9 100644 --- a/bonus-gateway/src/main/resources/bootstrap.yml +++ b/bonus-gateway/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-gateway profiles: # 环境配置 - active: dev + active: material_mall_test #加密组件 jasypt: diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..437c29f --- /dev/null +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 28082 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + 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-system/src/main/resources/bootstrap.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap.yml index 790dc0d..12f7b32 100644 --- a/bonus-modules/bonus-system/src/main/resources/bootstrap.yml +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-system profiles: # 环境配置 - active: dev + active: material_mall_test task: scheduling: pool: