Quellcode durchsuchen

优化配置。

lym vor 4 Jahren
Ursprung
Commit
5813d21342

+ 1 - 1
src/main/resources/application-dev.properties

@@ -70,7 +70,7 @@ spring.redis.timeout=5000
 #qr.code.logo.path=C:/nginx-1.15.2/html/uploadfile/
 
 qr.code.path=F:/mt/upload/images/
-qr.code.logo.path=F:/mt/upload
+qr.code.logo.path=F:/mt/upload/
 
 wlw.address=http://47.111.224.169:8085
 

+ 1 - 1
src/main/resources/application-pro.properties

@@ -74,6 +74,6 @@ spring.redis.pool.max-wait=-1
 spring.redis.timeout=5000
 
 qr.code.path=/home/appServer/trace/upload/images/
-qr.code.logo.path=/home/appServer/trace/upload
+qr.code.logo.path=/home/appServer/trace/upload/
 
 wlw.address=http://47.111.224.169:8085

+ 7 - 6
src/main/resources/application-test.properties

@@ -13,12 +13,11 @@ spring.http.multipart.maxRequestSize=10Mb
 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 #spring.datasource.url=jdbc:mysql://127.0.0.1:3306/traced_source?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=true&&allowMultiQueries=true
-spring.datasource.url=jdbc:mysql://frp.h.gyhywa.com:56524/traced_source?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&&allowMultiQueries=true
+spring.datasource.url=jdbc:mysql://172.16.90.64:3306/forest_traced_source?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&&allowMultiQueries=true
 #spring.datasource.url=jdbc:mysql://localhost:3306/food_security_db?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
 spring.datasource.username=root
 #spring.datasource.password=root123456
-spring.datasource.password=hw123456
-#spring.datasource.password=root
+spring.datasource.password=123456
 spring.datasource.initialSize=5
 spring.datasource.minIdle=5
 spring.datasource.maxActive=20
@@ -55,7 +54,7 @@ hystrix.metrics.enabled=true
 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000
 # eureka setting
 eureka.instance.hostname=localhost
-eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
+eureka.client.service-url.defaultZone=http://127.0.0.1:8766/eureka/
 
 ###redis配置#########
 spring.redis.database=0
@@ -67,5 +66,7 @@ spring.redis.pool.max-active=10
 spring.redis.pool.max-wait=-1
 spring.redis.timeout=5000
 
-qr.code.path=/home/project/traced/upload/images/
-qr.code.logo.path=/home/project/traced/upload/
+qr.code.path=/home/hwsolft/forest/suyuan/upload/images/
+qr.code.logo.path=/home/hwsolft/forest/suyuan/upload/
+
+wlw.address=http://127.0.0.1:8085