|
@@ -26,9 +26,9 @@ spring:
|
|
|
|
|
|
datasource:
|
|
|
name: test
|
|
|
- url: jdbc:mysql://47.99.212.176:3306/edu_saas?useUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://47.114.176.40:3306/edu_saas?useUnicode=true&characterEncoding=UTF8&serverTimezone=Asia/Shanghai
|
|
|
username: edu_saas
|
|
|
- password: edu_saas
|
|
|
+ password: dayaDataOnline@2019
|
|
|
# 使用druid数据源
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
@@ -45,7 +45,24 @@ spring:
|
|
|
testOnReturn: false
|
|
|
poolPreparedStatements: true
|
|
|
maxOpenPreparedStatements: 20
|
|
|
-
|
|
|
+
|
|
|
+ redis:
|
|
|
+ host: 47.114.176.40
|
|
|
+ port: 6379
|
|
|
+ password: dyym
|
|
|
+ database: 1
|
|
|
+ #连接超时时间(毫秒)
|
|
|
+ timeout: 10000
|
|
|
+ jedis:
|
|
|
+ pool:
|
|
|
+ #连接池最大连接数(使用负值表示没有限制)
|
|
|
+ max-active: 10
|
|
|
+ #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-wait: -1
|
|
|
+ #连接池中的最大空闲连接
|
|
|
+ max-idle: 10
|
|
|
+ #连接池中的最小空闲连接
|
|
|
+ min-idle: 1
|
|
|
|
|
|
mybatis:
|
|
|
mapperLocations: classpath:config/config/*.xml
|
|
@@ -77,3 +94,11 @@ management:
|
|
|
ribbon:
|
|
|
ReadTimeout: 60000
|
|
|
ConnectTimeout: 60000
|
|
|
+
|
|
|
+message:
|
|
|
+ debugMode: false
|
|
|
+
|
|
|
+user:
|
|
|
+ server:
|
|
|
+ context:
|
|
|
+ path: http://admin.dayaedu.com/
|