spring:
#  redis:
#    database: 0
#    cluster:
#      nodes: 39.105.23.253:6382,39.106.26.175:6381,101.200.127.120:6382
#    timeout: 3600
#    jedis:
#      shutdown-timeout: 3600
#      pool:
#        max-wait: -1
#        max-active: 300
#        max-idle: 8
#        min-idle: 2
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    username: root
    password: Bykf@2020@..
    url: jdbc:mysql://192.168.0.108:3311/byh-family-doctor?useUnicode=true&characterEncoding=utf8
  cache:
    cache-names: dataCache
    type: REDIS
#  rabbitmq:
#    host: 123.57.93.190
#    port: 5672
#    username: byh
#    password: byh2019@ZW..
  jackson:
    serialization:
      WRITE_DATES_AS_TIMESTAMPS: true

eureka:
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl:
      defaultZone: http://discover:1111/eureka
feign:
  hystrix:
    enabled: true # 开启Feign熔断

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 50000
ribbon:
  ReadTimeout: 50000
  ConnectTimeout: 50000

mybatis:
  mapper-locations: classpath:mapper/*.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true

logging:
  config: classpath:logback-spring.xml
  path: data/log

swagger:
  enabled: true

cloudDoctorUrl: https://testapi.chinachdu.com/cloud/doctorbasedata/
cloudDoctorUserUrl: https://testapi.chinachdu.com/cloud/doctoruser/