wangliang 4 年之前
父节点
当前提交
42de8a9e21

+ 7 - 7
themis-admin/src/main/resources/application.properties

@@ -11,16 +11,16 @@ server.tomcat.uri-encoding=UTF-8
 spring.application.name=themis-admin
 
 #\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
 #mongodb\u6570\u636E\u6E90\u914D\u7F6E
 #mongodb.database=themis-admin
 #mongodb.host=${db.host}
@@ -196,4 +196,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/admin/user/login/account,/api/admin/sys/org/queryByOrgCode,/file/**,/upload/**,/client/**,/base_photo/**,/frontend/**,/api/admin/client/save,/api/admin/client/upload,/api/admin/client/query,/api/admin/app/save,/api/admin/app/query
-common.system.urls=/api/admin/sys/getMenu,/api/admin/user/logout,/api/admin/sys/env,/api/admin/sys/file/upload,/api/admin/sys/file/download,/api/admin/sys/org/query,/api/admin/sys/role/query,/api/admin/sys/examActivity/query,/api/admin/sys/exam/query,/api/admin/sys/examRoom/query,/api/admin/sys/exam/privilegeQuery,/api/admin/student/photo/upload,/api/admin/sys/getPlayUrls
+common.system.urls=/api/admin/sys/getMenu,/api/admin/user/logout,/api/admin/sys/env,/api/admin/sys/file/upload,/api/admin/sys/file/download,/api/admin/sys/org/query,/api/admin/sys/role/query,/api/admin/sys/examActivity/query,/api/admin/sys/exam/query,/api/admin/sys/examRoom/query,/api/admin/sys/exam/privilegeQuery,/api/admin/student/photo/upload,/api/admin/sys/getPlayUrls

+ 9 - 10
themis-exam/src/main/resources/application.properties

@@ -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

+ 10 - 8
themis-task/src/main/resources/application.properties

@@ -11,16 +11,16 @@ server.tomcat.uri-encoding=UTF-8
 spring.application.name=themis-task
 
 #\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}
@@ -94,7 +94,7 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
 spring.jackson.time-zone=GMT+8
 
 #\u7CFB\u7EDF\u914D\u7F6E
-sys.config.datacenterId=1
+sys.config.datacenterId=3
 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/
@@ -201,4 +201,6 @@ mq.config.map.WEBSOCKET_OE_MOBILE_GROUP=themis-group-exam-websocketOeMobile
 #\u817E\u8BAF\u4E91\u914D\u7F6E
 tencentyun.sdk.appId=1400411036
 tencentyun.sdk.key=d78004c94473cb1cf78af33d333e18b731132e527e829e44e2ab133945243b11
-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
+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
+
+monitor.config.prefix=oe_test