From a15039789fdf9dcec3c4e40aa0f4a7f5206a76b4 Mon Sep 17 00:00:00 2001 From: liejiu946 Date: Mon, 13 Jan 2025 12:44:27 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E4=BF=AE=E6=94=B9=20prod=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/application-prod.yml | 8 ++++---- nlsso-server/src/main/resources/config/application.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nlsso-server/src/main/resources/config/application-prod.yml b/nlsso-server/src/main/resources/config/application-prod.yml index 2c254cc..de003f6 100644 --- a/nlsso-server/src/main/resources/config/application-prod.yml +++ b/nlsso-server/src/main/resources/config/application-prod.yml @@ -7,10 +7,10 @@ spring: db-type: com.alibaba.druid.pool.DruidDataSource driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy # url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.81.252}:${DB_PORT:3306}/${DB_NAME:stand_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true - url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:qzyf_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true + url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:qzyf}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true username: ${DB_USER:root} # password: ${DB_PWD:Root.123456} - password: ${DB_PWD:123456789} + password: ${DB_PWD:123456} # 初始连接数 initial-size: 5 # 最小连接数 @@ -71,7 +71,7 @@ spring: baseline-on-migrate: true redis: #数据库索引 - database: ${REDIS_DB:2} + database: ${REDIS_DB:5} # host: ${REDIS_HOST:10.44.101.19} host: ${REDIS_HOST:192.168.11.250} port: ${REDIS_PORT:6379} @@ -170,7 +170,7 @@ sa-token: token-session-check-login: false alone-redis: # Redis数据库索引(默认为0) - database: 2 + database: 5 # Redis服务器地址 host: 192.168.11.250 # Redis服务器连接端口 diff --git a/nlsso-server/src/main/resources/config/application.yml b/nlsso-server/src/main/resources/config/application.yml index 10205e7..bc92901 100644 --- a/nlsso-server/src/main/resources/config/application.yml +++ b/nlsso-server/src/main/resources/config/application.yml @@ -2,7 +2,7 @@ spring: freemarker: check-template-location: false profiles: - active: dev + active: prod jackson: time-zone: GMT+8 data: