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: