|
@@ -11,16 +11,16 @@ server.tomcat.uri-encoding=UTF-8
|
|
|
spring.application.name=themis-exam
|
|
|
|
|
|
#\u6570\u636E\u6E90\u914D\u7F6E
|
|
|
-db.host=localhost
|
|
|
+db.host=192.168.10.36
|
|
|
db.port=3306
|
|
|
-db.name=themis_test1
|
|
|
+db.name=themis_test_v1.1
|
|
|
db.username=root
|
|
|
-db.password=123456789
|
|
|
+db.password=Qmth87863577!
|
|
|
#redis\u6570\u636E\u6E90\u914D\u7F6E
|
|
|
-redis.host=${db.host}
|
|
|
-redis.database=15
|
|
|
+redis.host=192.168.10.36
|
|
|
+redis.database=13
|
|
|
redis.port=6379
|
|
|
-redis.password=
|
|
|
+redis.password=123456
|
|
|
spring.datasource.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8
|
|
|
spring.datasource.username=${db.username}
|
|
|
spring.datasource.password=${db.password}
|
|
@@ -69,7 +69,7 @@ mybatis-plus.mapper-locations=classpath:/mapper/*Mapper.xml
|
|
|
mybatis-plus.global-config.id-type=1
|
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
|
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
-logging.level.com.qmth.themis.business.dao=info
|
|
|
+logging.level.com.qmth.themis.business.dao=debug
|
|
|
mybatis-plus.configuration.call-setters-on-nulls=true
|
|
|
|
|
|
#redis
|
|
@@ -140,7 +140,6 @@ mq.config.map.EXAM_BREAK_DELAY_GROUP=themis-group-exam-examBreakDelay
|
|
|
mq.config.map.WEBSOCKET_OE_GROUP=themis-group-exam-websocketOe
|
|
|
mq.config.map.WEBSOCKET_OE_MOBILE_GROUP=themis-group-exam-websocketOeMobile
|
|
|
|
|
|
-
|
|
|
#\u963F\u91CC\u4E91OSS\u914D\u7F6E
|
|
|
aliyun.oss.publicName=oss-cn-shenzhen.aliyuncs.com
|
|
|
aliyun.oss.publicEndpoint=http://${aliyun.oss.publicName}
|
|
@@ -162,7 +161,7 @@ tencentyun.sdk.key=d78004c94473cb1cf78af33d333e18b731132e527e829e44e2ab133945243
|
|
|
tencentyun.sdk.urls=https://live1.qmth.com.cn,https://live2.qmth.com.cn,https://live3.qmth.com.cn,https://live4.qmth.com.cn,https://live5.qmth.com.cn,https://live6.qmth.com.cn
|
|
|
|
|
|
#\u7CFB\u7EDF\u914D\u7F6E
|
|
|
-sys.config.datacenterId=1
|
|
|
+sys.config.datacenterId=2
|
|
|
sys.config.oss=true
|
|
|
sys.config.attachmentType=.xlsx,.xls,.doc,.docx,.pdf,.jpg,.jpeg,.png,.html,.zip,.mp3,.wav,.dll,.exe
|
|
|
sys.config.serverUpload=/Users/king/git/themis-files/
|
|
@@ -185,4 +184,4 @@ monitor.config.prefix=oe_test
|
|
|
|
|
|
#\u65E0\u9700\u9274\u6743\u7684url
|
|
|
no.auth.urls=/webjars/**,/druid/**,/swagger-ui.html,/doc.html,/swagger-resources/**,/v2/api-docs,/webjars/springfox-swagger-ui/**,/api/oe/student/login,/api/oe/sys/env,/file/**,/upload/**,/client/**,/base_photo/**,/frontend/**,/api/oe/exam/short_code,/api/mobile/authorization
|
|
|
-common.system.urls=/api/oe/student/logout,/api/oe/exam/file/upload,/api/mobile/file/upload
|
|
|
+common.system.urls=/api/oe/student/logout,/api/oe/exam/file/upload,/api/mobile/file/upload
|