server:
  port: 8706
  tomcat:
    uri-encoding: utf-8
    threads:
      min-spare: 20
      max: 800
    accept-count: 200
    max-connections: 10000
spring:
  application:
    name: web-server-dev
  thymeleaf:
    cache: false
  datasource:
    dynamic:
      primary: his
      strict: false
      datasource:
        prod:
          url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
          username: "sa"
          password:
          driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
        his:
          url: "jdbc:sqlserver://172.16.32.179:1433;databaseName=thxyhisdb"
          username: "sa"
          password:
          driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
        demo:
          url: "jdbc:sqlserver://172.16.32.179:1433;databaseName=demohisdb"
          username: "demo"
          password: "demo2025"
          driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
        lis:
          url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
          username: "sa"
          password: "hnthxyyy"
          driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
        adicon:
          url: "jdbc:sqlserver://172.16.32.100:1433;databaseName=CYYFCheckUPV5_HNTHYY"
          username: "sa"
          password: "*ThyyHis2018#"
          driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
    druid:
      #type: com.alibaba.druid.pool.DruidDataSource
      #初始化时建立物理连接的个数。初始化发生在显示调用init方法，或者第一次getConnection时
      initial-size: 40
      #最大连接池数量
      max-active: 100
      #最小连接池数量
      min-idle: 40
      #获取连接时最大等待时间，单位毫秒
      max-wait: 60000
      #使用非公平锁。
      use-unfair-lock: true
      #用来检测连接是否有效的sql，要求是一个查询语句。
      validation-query: SELECT 1
      #建议配置为true，不影响性能，并且保证安全性。申请连接的时候检测，如果空闲时间大于timeBetweenEvictionRunsMillis，执行validationQuery检测连接是否有效。
      test-while-idle: true
      #申请连接时执行validationQuery检测连接是否有效，
      test-on-borrow: true
      #归还连接时执行validationQuery检测连接是否有效，
      test-on-return: false
      #Destroy线程会检测连接的间隔时间，testWhileIdle的判断依据，详细看testWhileIdle属性的说明
      time-between-eviction-runs-millis: 60000
      #配置一个连接在池中最小生存的时间，单位是毫秒
      min-evictable-idle-time-millis: 300000
      #监控统计用的filter:stat  日志用的filter:log4j    防御sql注入的filter:wall
      filters: stat
      #是否缓存preparedStatement，也就是PSCache，在mysql5.5以下的版本中没有PSCache功能，建议关闭掉
      pool-prepared-statements: false
      #要启用PSCache，必须配置大于0，当大于0时，poolPreparedStatements自动触发修改为true。
      max-pool-prepared-statement-per-connection-size: 200
      #对于长时间不使用的连接强制关闭
      remove-abandoned: true
      #数据库链接超过180秒开始关闭空闲连接 秒为单位
      remove-abandoned-timeout: 180
      #将当前关闭动作记录到日志  此配置项会影响性能，只在排查的时候打开，系统运行时最好关闭。
      log-abandoned: true
  autoconfigure:
    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  jackson:
    time-zone: Asia/Shanghai
    date-format: yyyy-MM-dd HH:mm:ss
  mvc:
    format:
      date: yyyy-MM-dd
      date-time: yyyy-MM-dd HH:mm:ss
mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true
logging:
  level:
    thyyxxk.webserver.dao: debug
forest:
  timeout: 0
  read-timeout: 0
  log-enabled: true
  log-request: true
  log-response-status: true
  connect-timeout: 1500
  variables:
    emrUrl: "http://172.16.32.125:8001/emr/runtime/api/v1"

management:
  server:
    port: 9091
  endpoints:
    web:
      base-path: /actuator
      exposure:
        include: '*'
  metrics:
    export:
      simple:
        enabled: true
      jmx:
        enabled: true
      prometheus:
        enabled: true
    distribution:
      percentiles-histogram:
        http:
          server:
            requests: false
      minimum-expected-value:
        http:
          server:
            requests: 20ms
      maximum-expected-value:
        http:
          server:
            requests: 200ms
  endpoint:
    metrics:
      enabled: true
    health:
      show-details: always
      probes:
        enabled: true
    prometheus:
      enabled: true

is-prod: false

si-zy-fee-url: http://172.16.30.26:1000
si-mz-fee-url: http://172.16.30.26:1100/mzFee
si-injury-fee-url: http://172.16.30.26:2100/siInjury
si-injury-systm-url: http://172.16.30.26:2000/siInjury
thmz-api-url: http://172.16.30.119:8089/thmz
rmHkUserApi: http://172.16.30.66:20923/thyy/api/haikang/door/destructionUser

thyy:
  ca:
    sign-authentication:
      app-code: ywxt
      app-pwd: 12345678
      cert: "MIIB9TCCAZigAwIBAgIOAV53M9Vp5AY8j5DL1EUwDAYIKoEcz1UBg3UFADA+MQswCQYDVQQGEwJDTjEUMBIGA1UEAwwLU00yIFJPT1QgQ0ExCzAJBgNVBAgMAlNIMQwwCgYDVQQKDANoYWgwHhcNMjMwMzA5MDY1MzQyWhcNMjUwMzA5MDY1MzQyWjBZMQswCQYDVQQGEwJDTjELMAkGA1UECAwCU0gxCzAJBgNVBAcMAlNIMQ0wCwYDVQQKDARzaWduMQ0wCwYDVQQLDARzaWduMRIwEAYDVQQDDAlzaWduX3Rlc3QwWTATBgcqhkjOPQIBBggqgRzPVQGCLQNCAAT9dIroxCUB5oZvxl2Irq3OoAtbWvqa5tNvw854VGmgJxfuuTfgBtcVdEHkbXsSvRNdj9Uq2ld2XFjoaIyHaC1Co10wWzAMBgNVHRMBAf8EAjAAMB8GA1UdIwQYMBaAFCE77Si3YBk/u4qjZMQAJNHBvWKUMB0GA1UdDgQWBBSjsmDHccu255pXS76XpNE3LL7f7DALBgNVHQ8EBAMCB4AwDAYIKoEcz1UBg3UFAANJADBGAiEAkECq7DAZiONAwDblXKigoyGkmjePKsS2L4noqg/wQuwCIQCGnRJITQ+ErYg/l+YNrAWgY1UtoQnsM8A4XIsUynzu7Q=="
      sign-aig: "SM3withSM2"
      url: "http://103.36.136.173:7845/services/CipherServices"
    mobile-app:
      app-id: 3
      url: https://device.mkeysec.net/openapi
      privatekey: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCHwpN7M6Xhja7sfaB0K3y2MBd4xLfhOF64mv0mtEZfqaWvphadXAimnfru8Y4sf0wDb9LYjacXRTkRMhZaZq5ZRCNFB+G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PcTHWncKUVA3j7ORgE2tocolDqDmujBC55svBOHifaKQcE3khA9JAoGAf/fLPjrrNN00gsVhpJ/sa0qSEzh2w4QxNkOT6n4MYzxKD/xsDcc7/MfGI+K0BOHvTXVONXvZoqloHOaB7unOs8R/sivIlqjgmzyQJCZsojQkcFot/HZAfK6LFw4jPyzGev2+ou0DUZA0tHsEuSqAiC+PdnjIPpcpZOvG5KzFHCUCgYEAuLEUmIzQ7ex85Ulag2qfGj0CDMAq1R/rmwrk+1d2aP9GY890HwcyN5dlZGy8/Z/lMlzOGo1kDhhhwOfbiYSit00FdLChVux0wh8nyqqB4IuTy0S0ZeTNjWnjftpNaPXdHh5mpUXXKygCp3UT65HC6coaqoD3Vv8jE32svsz/uPE="
    timestamp-authentication:
      url: http://103.36.136.173:7845/services/TimeStampServices
      app-code: ywxt
      app-pwd: 12345678
    HBoard-sign:
      api-key: "00000"
      api-secret: "00000000"
      url: http://47.100.199.230:8080/pdfsign_hw
      return-url: "https://emr.hnthyy.cn:9222/caTest/casign/hBoardSignReturnUrl"
  apiurl:
    socket-api: http://demo.hnthyy.cn:20922/thyy/api/socket
    scheduled-api: http://172.16.32.133:21702/thyy/scheduled/api
    thirdpart-api: http://172.16.32.160:21701/thyy/thirdpart/api
    emr-editor-template-url: "http://webhis.thyy.cn:9281/"
  #    drg-web-api:
  archive:
    archive-url: "http://localhost:20921/thyy/api/archive"
    emr-archive-url: "http://webhis.thyy.cn:8080/thyyemrpdfserver/emr/archive/pdf"
    path: "D:\\archive"
  jcptmobile:
    address: "https://emr.hnthyy.cn:8081"
    agentid: 1000051
  system:
    yz-config:
      exceeding-discharge-days: 4
      ignore-dis-order-role: 85
      shoushubingqu: "8000130"
    emr-zy-dept-code: "3020000"
    medinsur-dept: "3020100"
  we-com:
    wply:
  medinsur:
    api-url: http://webhis.thyy.cn:8077/ybjkdz
    api-version: 1.0.0
    access-key: 04eMGRg7beAO6vqwrZiLacV8Uy3jNn7QGDUcBO
    secret-key: SK3Oip3a2R3NLz2xm58Mpmi69oFu96KrdKNRKglN
    ip-address: 218.104.151.243
    mac-address: FE-FC-FE-35-35-DE
    hosp-id: H43010500370
    hosp-name: 长沙泰和医院
    hosp-area: 430105
    hosp-level: 03
    soft-developer:
    api-name: