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
  thymeleaf:
    cache: false
  datasource:
    dynamic:
      primary: his
      strict: false
      datasource:
        his:
          url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
          username: "sa"
          password:
          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: info
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: true

si-access-key: 04eMGRg7beAO6vqwrZiLacV8Uy3jNn7QGDUcBO
si-secret-key: SK3Oip3a2R3NLz2xm58Mpmi69oFu96KrdKNRKglN
si-zy-fee-url: http://172.16.32.166:1000
si-mz-fee-url: http://172.16.32.166:1100/mzFee
si-injury-fee-url: http://172.16.32.163:2100/siInjury
si-injury-systm-url: http://172.16.32.163:2000/siInjury
thmz-api-url: http://172.16.32.160:81/thmz
rmHkUserApi: http://172.16.32.167:20923/thyy/api/haikang/door/destructionUser

thyy:
  ca:
    timestamp-authentication:
      url: http://172.16.32.135/services/TimeStampServices
      app-code: ywxt
      app-pwd: 12345678
    sign-authentication:
      app-code: ywxt
      app-pwd: 12345678
      sign-aig: "SM3withSM2"
      url: http://172.16.32.135/services/CipherServices
      container-name: "Cont1"
    mobile-app:
      app-id: 1
      url: http://172.16.32.135:8080/openapi
      privatekey: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCCuwgon3RCGr3PZD7yH+1SC1i9PzochRma3ZTO6OPkbuH9ng0ePu6tvSSgVKkKg8Z9xgGVAFbH9KIJGK/xrgEMfTBVd3K4vyE8amymT9MPF2HsjR3ghZnFqIhNeF3MzrpxtduC8J8CMM3eSC7i4XGYVTvl+w2ACFMkAYz+IbdIIICSqZOvJ9xISIBpVMilpnYrLq0G9M2ov6voagGavMp+/dxXztRYlRDKKfOXhmHoFmatk6xMzuHiUs1/drb6n5LmT4uj+aL4JQhAzfBbU4sPbwy+lpWiM4VL/QVvE1k2KpfDeobDFon7Iyr8tnsTuTs1THaKoIBu2UVCao9EC/sNAgMBAAECggEATkMt1TPwY4qiyz+WN1lJt+43B8SMQ3qjI4U3is79b0m6XRx7efnu5W/wN1O3hyXwdGdPlyYGzdn0D0IKQsMKubFQeDn0Igm6GfMUbFQpZEV5SCYLFtikgCIux0Ih1XSFRYG7kh3+807IUCQifYy9dpbALyQmptlU/J85CwKgOLrp8l6CgJ87jLWpjNW4hRybNQRRxD3YnUiZ0O/dPpKmGSz1CZKzFmAfph8GD/WEXrIzL86A9eQN5sf9lFFlJ1Umzu2cgpNjylq8Zqi9wDOrqdxznPylJST8zZCv0kWy3K3YuORW4Z4GzR1kN3Xy50vOfl75T6Gw9rXXesqh0jaCgQKBgQDtgqV7Lk6+cXtLbymehK8c4jfCRQAxRNdBvURurwDnP86d/YpANtWyOJId+Q4AXUF3wtYdFUFdTsje4rajaQVMOozVSX2oaG+597QqUuvKlK8TEMB9MTzkVvUf15tkPihdCyii13A/3Qz0bJ2mcMf+ZJPLNBALnu5jN0rp3oHQnQKBgQCM6F4OWyy9PnmljjYkzIn9DP2AinGY6V/XHLc1rSkLtzlHDa4BKCJToZ0vB9MqxT1LTBTsbg4+VhZmHw9vtZr3fyPmDLUfNQi3Q0/m4udUIRH4ptpZUE/JOb3vGUrL/VdsTgjWos/nJxOvkbAg+74H9khPygKgRAfC3PPLXckxMQKBgQDWobGZV4ehYjvhN1uM/Kqil2t8C47Y9zTvG3Kz80IFuAunim9dCDClFao1m9OjUKLQ7yk+ru6au4+am5Ygpc87y81pETiU74vHqqkNdlHOh/6OZB0PBWfZkRuC4vxx4hnnuyXFwpqVm9URLPZqapDQu2MzxqCZX85dqqHwJjt5oQKBgFbRGJppzJ/w7Ux22Z9EssRKC6r2IdWf/J/yHmOhBAgm5NCFei9WRggXLFx8yruwePp6ru2ZRYdczUIwYvdmAkv5dunX7ISEzZD0lTdhmDv6gDMewquC0xXdUMwPXklfF00wqztrZwM5zWRANC+uS8BmGtmmUoXiRJHoRwGHEF4RAoGBALfswY8UTXR5AzY7+q4MhMdJjDe9mseK6HjrE2m3ClZ21nxLtLRA4y6hD7NXWKrrwliriz+DFiv1TQ2uLWTUH0TErOzCDxtOdxslFeva44dTzdVMUjj3OQ1KwDBdiZy107eYDnSPvDNjzNGKp6cT4YvO4WLK+MbqkiIoFbzGnZJO
    HBoard-sign:
      api-key: ywxt
      api-secret: 12345678
      url: http://172.16.32.135:8082
      return-url: http://172.16.30.66:8706/casign/hBoardSignReturnUrl
  system:
    yz-config:
      yz-allow-invalidation: true
      exceeding-discharge-days: 4
      prescribe-medical-advice-after-discharge: false
      ignore-dis-order-role: 85
      shoushubingqu: "8000130"
    rational-use-url: http://172.16.32.121:8016/Audit.ashx
    institution-name: "长沙泰和医院"
    institution-id: "H43010500370"
    emr-zy-dept-code: "3020000"
    medinsur-dept: "3020100"
  archive:
    path: "/mnt/archive"
    archive-url: http://172.16.32.197:20921/thyy/api/archive
    emr-archive-url: "http://webhis.thyy.cn:8080/thyyemrpdfserver/emr/archive/pdf"
  apiurl:
    socket-api: http://172.16.32.160: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
    drg-web-api: "http://172.16.32.126:8080"
    emr-editor-template-url: "http://webhis.thyy.cn:9281/"
  jcptmobile:
    address: "https://emr.hnthyy.cn:8080"
    agentid: 1000050
    url: "https://open.weixin.qq.com/connect/oauth2/authorize"
    appid: "wwf0b23c8b36012b34"
    public-key: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDN7dqjx3C71g7P6qlcMHsnxawNSdgx7C0nHreDzAk0GFUO2xAkhxrYT9P2KQTPWzFQOje/DaxhWhJHssRQc8Q9lnaDZXta3wZvIvkLhW/NfJQNMLpOhYS6wyfTHrppSw/52TcxttmzmAEsza2ekkZbSvTwyVU4rIpKHyYt9r7bQIDAQAB"
  we-com:
    wply: 1236 #物品领用：肖帅
  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:
