server.port=21884 spring.application.name=goods-service spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 ## upload files setting spring.http.multipart.maxFileSize=10Mb spring.http.multipart.maxRequestSize=10Mb #img.location=C:/nginx-1.15.2/html/uploadfile/ #spring.mvc.static-path-pattern=/images/** #spring.resources.static-locations=file:${img.location} #mysql datasource setting 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://172.16.90.156:13306/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=admin #spring.datasource.password=root123456 spring.datasource.password=Dzkj$123 spring.datasource.initialSize=5 spring.datasource.minIdle=5 spring.datasource.maxActive=20 spring.datasource.maxWait=60000 spring.datasource.timeBetweenEvictionRunsMillis=60000 spring.datasource.minEvictableIdleTimeMillis=30000 spring.datasource.validationQuery=SELECT 1 spring.datasource.testWhileIdle=true spring.datasource.testOnBorrow=false spring.datasource.testOnReturn=false spring.datasource.poolPreparedStatements=true spring.datasource.maxPoolPreparedStatementPerConnectionSize=20 spring.datasource.filters=stat,wall spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=2000 #mybatis setting mybatis.type-aliases-package=com.hcloud.microservice.goods.facade.entity mybatis.mapper-locations=classpath:mappers/*.xml mybatis.check-config-location=true mybatis.executor-type=simple #pagehelper setting pagehelper.helperDialect=mysql pagehelper.reasonable=true pagehelper.supportMethodsArguments=true pagehelper.params=count=countSql #zuul timeout setting zuul.host.connect-timeout-millis=10000 zuul.host.socket-timeout-millis=10000 #hystix timeout setting 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:8766/eureka/ ###redis配置######### spring.redis.database=0 spring.redis.host=172.16.90.201 spring.redis.port=6379 spring.redis.pool.max-idle=8 spring.redis.pool.min-idle=0 spring.redis.pool.max-active=10 spring.redis.pool.max-wait=-1 spring.redis.timeout=5000 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