WANG 6 سال پیش
والد
کامیت
08a16852c8

+ 0 - 26
examcloud-core-basic-starter/src/main/resources/application-dev.properties

@@ -1,26 +0,0 @@
-spring.datasource.url=jdbc:mysql://db-host:3306/exam_cloud_kf?useUnicode=true&characterEncoding=UTF-8&useSSL=false
-spring.datasource.username=root
-spring.datasource.password=root
-
-spring.redis.host=redis-host
-spring.redis.port=6379
-
-eureka.client.serviceUrl.defaultZone=http://eureka-host:1111/eureka/
-
-$croe.basic.resource.schoolLogoPath=D:/Temp/logo
-
-$core.basic.sessionTimeout=3600
-
-$log.level.default=debug
-
-$sendVerificationCode.sign=\u8003\u8bd5\u4e91\u5e73\u53f0
-$sendVerificationCode.templatecode=SMS_138073780
-$sendVerificationCode.effectivetime=120
-$sendVerificationCode.intervalseconds=90
-
-$upyun.studentPhotoPath=https://ecs-test-static.qmth.com.cn/student_base_photo/
-
-$tempDir=D:/Temp/tempDir
-$dir=D:/Temp/dir
-
-$config.server.host=localhost

+ 0 - 30
examcloud-core-basic-starter/src/main/resources/application-prod.properties

@@ -1,30 +0,0 @@
-spring.datasource.url=jdbc:mysql://rds7b2sll8un5kz99s0i122.mysql.rds.aliyuncs.com:3306/exam_cloud?useUnicode=true&characterEncoding=UTF-8
-spring.datasource.username=exam_cloud
-spring.datasource.password=examcloud123!@#
-
-spring.redis.host=r-wz97e520d2701e54555.redis.rds.aliyuncs.com
-spring.redis.port=6379
-spring.redis.password=Qmth87863577
-
-eureka.client.serviceUrl.defaultZone=http://192.168.1.70:1111/eureka/
-
-hystrix.command.default.execution.timeout.enabled=false
-hystrix.threadpool.default.coreSize = 500
-
-$croe.basic.resource.schoolLogoPath=/root/project/examcloud/static/logo
-
-$core.basic.sessionTimeout=3600
-
-$log.level.default=error
-
-$sendVerificationCode.sign=\u8003\u8bd5\u4e91\u5e73\u53f0
-$sendVerificationCode.templatecode=SMS_138073780
-$sendVerificationCode.effectivetime=120
-$sendVerificationCode.intervalseconds=90
-
-$upyun.studentPhotoPath=https://ecs-static.qmth.com.cn/student_base_photo/
-
-$tempDir=/root/project/examcloud/examcloud-core-basic/tempDir
-$dir=/root/project/examcloud/examcloud-core-basic/dir
-
-

+ 0 - 26
examcloud-core-basic-starter/src/main/resources/application-test.properties

@@ -1,26 +0,0 @@
-spring.datasource.url=jdbc:mysql://db-host:3306/exam_cloud_kf?useUnicode=true&characterEncoding=UTF-8&useSSL=false
-spring.datasource.username=root
-spring.datasource.password=root
-
-
-spring.redis.host=redis-host
-spring.redis.port=6379
-
-spring.jpa.show-sql=true
-eureka.client.serviceUrl.defaultZone=http://eureka-host:1111/eureka/
-
-$croe.basic.resource.schoolLogoPath=/home/qmth/project/examcloud/static/logo
-
-$core.basic.sessionTimeout=3600
-
-$log.level.default=debug
-
-$sendVerificationCode.sign=\u8003\u8bd5\u4e91\u5e73\u53f0
-$sendVerificationCode.templatecode=SMS_138073780
-$sendVerificationCode.effectivetime=120
-$sendVerificationCode.intervalseconds=90
-
-$upyun.studentPhotoPath=https://ecs-test-static.qmth.com.cn/student_base_photo/
-
-$tempDir=/home/qmth/project/examcloud/examcloud-core-basic/tempDir
-$dir=/home/qmth/project/examcloud/examcloud-core-basic/dir

+ 0 - 25
examcloud-core-basic-starter/src/main/resources/application.properties

@@ -3,34 +3,9 @@ spring.profiles.active=dev
 spring.application.name=EC-CORE-BASIC
 server.port=8000
 
-spring.datasource.validation-query=SELECT 1 FROM DUAL
-spring.datasource.test-on-borrow=true
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
-
-spring.jpa.show-sql=false
-spring.jpa.hibernate.ddl-auto=update
-spring.jpa.database-platform=org.hibernate.dialect.MySQL5Dialect
-spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
-
-spring.http.multipart.max-file-size=10Mb
-
-hystrix.command.default.execution.timeout.enabled=false
-
-spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
-spring.jackson.time-zone=GMT+8
-
 $rmp.ctr.basic=/api/ecs_core
 $rmp.cloud.basic=/api/core/basic/
 
-
-eureka.instance.lease-renewal-interval-in-seconds=1
-eureka.instance.lease-expiration-duration-in-seconds=2
-eureka.instance.prefer-ip-address=true
-eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port}
-eureka.client.healthcheck.enabled=true
-
-info.app=${spring.application.name}
-
 $log.level.default=error
 
 $config.server.host=config-host