From 376c47befc40474c5f43e165bedb27d8828bc4da Mon Sep 17 00:00:00 2001 From: yang <1175@qq.com> Date: Mon, 26 Aug 2024 19:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.properties | 4 ++-- .../src/main/resources/application-pre.properties | 4 ++-- .../src/main/resources/application-pro.properties | 4 ++-- .../src/main/resources/application-test.properties | 6 +++--- .../src/main/resources/application-test135.properties | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/servers/boe-server-all/src/main/resources/application-dev.properties b/servers/boe-server-all/src/main/resources/application-dev.properties index cedf2932..74d9e287 100644 --- a/servers/boe-server-all/src/main/resources/application-dev.properties +++ b/servers/boe-server-all/src/main/resources/application-dev.properties @@ -4,7 +4,7 @@ spring.redis.database=1 #spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) #spring.redis.port=6379 spring.redis.host=124.70.92.162 -spring.redis.password=qwert!W577 +spring.redis.password=ENC(5oXfdmgE2DDHUFhrGkS/UzUCxr7s8stV) spring.redis.port=6379 # cloud nacos config @@ -20,7 +20,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver #spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.password=ENC(GrOwKqgCAlYEZYjiDYWEjVcKho+5TLgc) logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE diff --git a/servers/boe-server-all/src/main/resources/application-pre.properties b/servers/boe-server-all/src/main/resources/application-pre.properties index 18426195..b98f988a 100644 --- a/servers/boe-server-all/src/main/resources/application-pre.properties +++ b/servers/boe-server-all/src/main/resources/application-pre.properties @@ -1,7 +1,7 @@ ## redis spring.redis.database=1 spring.redis.host=10.251.160.38 -spring.redis.password=qwert!W577 +spring.redis.password=ENC(5oXfdmgE2DDHUFhrGkS/UzUCxr7s8stV) spring.redis.port=6379 #spring.redis.database=3 #spring.redis.host=10.251.129.122 @@ -17,7 +17,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://10.251.129.126:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.password=ENC(GrOwKqgCAlYEZYjiDYWEjVcKho+5TLgc) logging.level.org.hibernate.SQL=ERROR #logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE diff --git a/servers/boe-server-all/src/main/resources/application-pro.properties b/servers/boe-server-all/src/main/resources/application-pro.properties index 897a0628..a1f8c427 100644 --- a/servers/boe-server-all/src/main/resources/application-pro.properties +++ b/servers/boe-server-all/src/main/resources/application-pro.properties @@ -4,7 +4,7 @@ spring.cloud.nacos.discovery.server-addr=10.251.129.51:8848 ## redis spring.redis.database=1 spring.redis.host=10.251.129.122 -spring.redis.password=qwert!W588 +spring.redis.password=ENC(e1k00MMRGU0DUHvLX8JSOuDkCX0CWNif) spring.redis.port=6379 @@ -18,7 +18,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver #spring.datasource.password=ocYMC>!{8G spring.datasource.url=jdbc:mysql://10.251.129.126:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.password=ENC(GrOwKqgCAlYEZYjiDYWEjVcKho+5TLgc) ## 使用 hikari 连接池 spring.datasource.type=com.zaxxer.hikari.HikariDataSource diff --git a/servers/boe-server-all/src/main/resources/application-test.properties b/servers/boe-server-all/src/main/resources/application-test.properties index 74d42897..4355c2ee 100644 --- a/servers/boe-server-all/src/main/resources/application-test.properties +++ b/servers/boe-server-all/src/main/resources/application-test.properties @@ -1,7 +1,7 @@ ## redis spring.redis.database=1 spring.redis.host=10.251.160.38 -spring.redis.password=qwert!W577 +spring.redis.password=ENC(oXmZ5HIrhizHQ/DWPNv/S/1hUNJbbRjv) spring.redis.port=6379 # cloud nacos config @@ -13,7 +13,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.password=ENC(GrOwKqgCAlYEZYjiDYWEjVcKho+5TLgc) ## 使用 hikari 连接池 spring.datasource.type=com.zaxxer.hikari.HikariDataSource @@ -72,7 +72,7 @@ jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator xboe.elasticsearch.server.ip=10.251.129.25 xboe.elasticsearch.server.port=9200 xboe.elasticsearch.server.user=elastic -xboe.elasticsearch.server.password=Boe@es123 +xboe.elasticsearch.server.password=ENC(903xqMcg31J+OhmZ0AoinYqvzLoAt8UZ) ## 邮件的配置 xboe.email.url=https://u-pre.boe.com/api/b1/email/send diff --git a/servers/boe-server-all/src/main/resources/application-test135.properties b/servers/boe-server-all/src/main/resources/application-test135.properties index 7ca198d7..8f745ea4 100644 --- a/servers/boe-server-all/src/main/resources/application-test135.properties +++ b/servers/boe-server-all/src/main/resources/application-test135.properties @@ -1,7 +1,7 @@ ## redis spring.redis.database=2 spring.redis.host=10.251.160.38 -spring.redis.password=qwert!W577 +spring.redis.password=ENC(5oXfdmgE2DDHUFhrGkS/UzUCxr7s8stV) spring.redis.port=6379 ## datasource config @@ -10,7 +10,7 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.password=ENC(GrOwKqgCAlYEZYjiDYWEjVcKho+5TLgc) logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE @@ -60,7 +60,7 @@ jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator xboe.elasticsearch.server.ip=10.251.129.25 xboe.elasticsearch.server.port=9200 xboe.elasticsearch.server.user=elastic -xboe.elasticsearch.server.password=Boe@es123 +xboe.elasticsearch.server.password=ENC(903xqMcg31J+OhmZ0AoinYqvzLoAt8UZ) ## 邮件的配置 xboe.email.url=https://10.251.160.135/api/b1/email/send