wangwei 7 rokov pred
rodič
commit
44d5e722bd

+ 6 - 16
examcloud-core-examwork-starter/src/main/resources/application.properties

@@ -1,38 +1,28 @@
 spring.profiles.active=dev
+
+spring.application.name=ExamCloud-service-exam-work
+server.port=8001
+
 spring.datasource.validation-query=SELECT 1 FROM DUAL
 spring.datasource.test-on-borrow=true
 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 
-#redis
-#spring.redis.host=192.168.199.102
-#spring.redis.port=32768
-
-#server.port=8080
-
-
-#logging.file=d:/gkwb/logs/gkwb.log
-logging.level.org.springframework=ERROR
-logging.level.org.hibernate=ERROR
-
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
 
 
 spring.http.multipart.max-file-size=10Mb
 
-spring.application.name=ExamCloud-service-exam-work
-server.port=8001
-eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
 hystrix.command.default.execution.timeout.enabled=false
-# Increase the Hystrix timeout to 600s (globally)
 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 600000
+
 ribbon.ReadTimeout=800000
 ribbon.ConnectTimeout=800000
 
 app.api.root=/api/ecs_exam_work
 app.api.core=/api/ecs_core
 app.api.oe=/api/ecs_oe
-#\u5b66\u751f\u7167\u7247\u4e0a\u4f20\u5730\u5740
+
 app.em.photo.path=/Users/ting.yin/Downloads
 app.em.facepp.key=e94d4a6a1ea8749144328be96a40e388
 app.em.facepp.secret=H65RT9miQqCal00jpxdUAreAufxxusUv