|
@@ -1,9 +1,13 @@
|
|
|
spring:
|
|
|
+# 123.60.213.70
|
|
|
# 数据库配置
|
|
|
datasource:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://123.60.213.70:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
+ #国电考培服务器
|
|
|
+ url: jdbc:mysql://10.155.32.18:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
+ #华为云
|
|
|
+ #url: jdbc:mysql://123.60.213.70:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
filters: stat
|
|
@@ -23,7 +27,10 @@ spring:
|
|
|
# Redis配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 123.60.213.70
|
|
|
+ #国电考培服务器
|
|
|
+ host: 10.155.32.18
|
|
|
+ #华为云
|
|
|
+ #host: 123.60.213.70
|
|
|
port: 6379
|
|
|
password: gdnxfd123
|
|
|
timeout: 5000
|