server.port=21883 spring.application.name=org-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=/usr/home/images/ #spring.mvc.static-path-pattern=/images/** #spring.resources.static-locations=file:${img.location} #mysql datasource setting spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasource.url=jdbc:mysql://47.111.224.169:3306/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=trace spring.datasource.password=Admin123 spring.datasource.driver-class-name=com.mysql.jdbc.Driver 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=3000 #mybatis setting mybatis.type-aliases-package=com.hcloud.microserver.org.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 # Max number of next servers to retry (excluding the first server) system-service.ribbon.MaxAutoRetriesNextServer=1 # Whether all operations can be retried for this client system-service.ribbon.OkToRetryOnAllOperations=true # Interval to refresh the server list from the source system-service.ribbon.ServerListRefreshInterval=2000 # Connect timeout used by Apache HttpClient system-service.ribbon.ConnectTimeout=50000 # Read timeout used by Apache HttpClient system-service.ribbon.ReadTimeout=50000 #hystix timeout setting feign.hystrix.enabled=true #feign调用默认是1000毫秒=1秒 应该设置成更长时间1000 * 60 * 5 = 5分钟 add by six-vision hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=300000 hystrix.command.default.circuitBreaker.sleepWindowInMilliseconds=300000 hystrix.command.default.circuitBreaker.forceClosed=true #hystrix.command.default.execution.timeout.enabled=false #请求处理的超时时间 add by six-vision ribbon.ReadTimeout=300000 ribbon.SocketTimeout=300000 #请求连接的超时时间 add by six-vision ribbon.ConnectTimeout=30000 # eureka setting eureka.instance.hostname=localhost eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/ ###redis配置######### spring.redis.database=0 spring.redis.host=127.0.0.1 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 #wechat setting #(一个公众号的appid) #wx.mp.configs.appId=wx04d471b59982c6ad #(公众号的appsecret) #wx.mp.configs.secret=bd9279851f63af0c67e8bc1ef7e27257 #(接口配置里的Token值) #wx.mp.configs.token=123 #(接口配置里的EncodingAESKey值) #wx.mp.configs.aesKey=123 #统一登录认证 xxl.sso.redis.database=4 xxl.sso.redis.host=172.16.90.201 xxl.sso.redis.port=6379 xxl.sso.redis.password= xxl.sso.server: https://sso.hw.hongweisoft.com/