|
@@ -132,12 +132,12 @@ spring:
|
|
|
slow-sql-millis: 5000
|
|
|
datasource:
|
|
|
master:
|
|
|
-# url: jdbc:mysql://127.0.0.1:3306/db_exam?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
-# username: root
|
|
|
-# password: 123456
|
|
|
- url: jdbc:mysql://10.11.12.100:13306/db_exam?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/db_exam_cs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
|
- password: 123456a?
|
|
|
+ password: 123456
|
|
|
+# url: jdbc:mysql://10.11.12.100:13306/db_exam?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+# username: root
|
|
|
+# password: 123456a?
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
#multi-datasource1:
|
|
@@ -148,7 +148,8 @@ spring:
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 10.11.12.100
|
|
|
+# host: 10.11.12.100
|
|
|
+ host: 127.0.0.1
|
|
|
#192.168.132.153
|
|
|
port: 6379
|
|
|
password:
|
|
@@ -219,6 +220,14 @@ logging:
|
|
|
com.ynfy.buss.exam.userexamresult.mapper: info
|
|
|
com.ynfy.buss.exam.examstatistics.mapper: info
|
|
|
com.ynfy.buss.exam.examuserstatistics.mapper: info
|
|
|
+# org.jeecg.modules.system.mapper: debug
|
|
|
+# com.ynfy.buss.exam.paper.mapper: debug
|
|
|
+# com.ynfy.buss.exam.question.mapper: debug
|
|
|
+# com.ynfy.buss.exam.exam.mapper: debug
|
|
|
+# com.ynfy.buss.exam.userexam.mapper: debug
|
|
|
+# com.ynfy.buss.exam.userexamresult.mapper: debug
|
|
|
+# com.ynfy.buss.exam.examstatistics.mapper: debug
|
|
|
+# com.ynfy.buss.exam.examuserstatistics.mapper: debug
|
|
|
#swagger
|
|
|
knife4j:
|
|
|
#开启增强配置
|