spring:
  redis:
    database: 5
    host: dev-env
    port: 6379
    password: techhero
    timeout: 0
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
      initial-size: 1
      max-active: 20
      min-idle: 3
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: inspection
      datasource:
        system:
          url: jdbc:mysql://dev-env:33060/inspection_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
          username: root
          password: techhero
          driver-class-name: com.mysql.cj.jdbc.Driver
  rabbitmq:
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    # 交换机
    exchanges:
    # 通配符订阅
    - name: topic.mode
      type: TOPIC
    # 广播
    - name: fanout.mode
      type: FANOUT
    # 消息头
    - name: headers.mode
      type: HEADERS
    # 队列
    queues:
    # 直连队列
    - name: queue.direct.one
      exchange-name: fanout.mode
    # 队列2
    - name: queue.two
      routing-key: queue.two.*
      exchange-name: fanout.mode,topic.mode
    - name: queue.three
      routing-key: queue.obj.*
      exchange-name: topic.mode

oss:
  bucketName: jyksy-gjjybzh
  httpEndpoint: ctyoss.chutianyun.gov.cn:8060
  httpsEndpoint: https://ctyoss.chutianyun.gov.cn:10443
  accessKey: L3B7SA05OXT0V9WKD02N
  secretKey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL

#全局相关
global:
  file:
    #本地测试配置,需根据实际情况调整#
    path: \temp\
    bucketName: jyksy-gjjybzh
    endpoint: ctyoss.chutianyun.gov.cn:8060
    akey: L3B7SA05OXT0V9WKD02N
    skey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL
    yjzhBucketName: yjzh
    endpointHttps: https://ctyoss.chutianyun.gov.cn:10443

#---本地环境
xyLink:
  #湖北考试院账号
  token: 585a41135abcd6fe679c76f1faba6268467e51e9785c4d4e6611509ce88a1b97
  enterpriseId: 9a7ad39f4a3c9f785807e664a031c6dc2272cd9f
  #广西考试院账号
  #token: 7d3bd4c67c3411d4ce09193bb72c1c154dd2b5131c3c09286517c16ab095300c
  #enterpriseId: 7d87e061c687fcb2b4ba6b8d17d3b09a7e365f81
  appId: BNPNNVVUNVVNT
  videoUrlHttps: https://www.hbjyks.cn:10406     #生产环境小鱼视频访问地址
  callbacksUrl: https://test.techhero.vip:10401/insp/rest/record/receivedMessage    #回调函数
  liveStatusUrl: https://test.techhero.vip:10401/insp/open/receivedMessage # 直播状态回调地址

fdfs:
  # 链接超时
  connect-timeout: 60
  # 读取时间
  so-timeout: 60
  # 生成缩略图参数
  thumb-image:
    width: 150
    height: 150
  tracker-list: 192.168.0.163:22122
  file:
    path: /data/file
    tempPath: /data/file/temp

file:
  extraFile:
    tempFilePath: \temp\

socket:
  host: 192.168.0.114
  port: 10089

# MAPPER Xml所在目录
mapper:
  location: classpath:mapper/mysql/**/*.xml