application-dev.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. server:
  2. #端口号
  3. port: 8089
  4. #tomcat 日志
  5. tomcat:
  6. accesslog:
  7. buffered: true
  8. directory: D:/logs/thmz
  9. enabled: true
  10. file-date-format: .yyyy-MM-dd
  11. pattern: common
  12. prefix: access_log
  13. rename-on-rotate: false
  14. request-attributes-enabled: false
  15. rotate: true
  16. suffix: .log
  17. #项目名,如果不设定,默认是 /
  18. servlet:
  19. context-path: "/thmz"
  20. spring:
  21. #jackson:
  22. #date-format: "yyyy-MM-dd HH:mm:ss"
  23. #设置为东八区时间
  24. #timezone: GMT+8
  25. #serialization:
  26. #使用数值timestamp表示日期
  27. #write-dates-as-timestamps: true
  28. #想要值为2019-01-01
  29. #write-dates-as-timestamps: false
  30. servlet:
  31. multipart:
  32. #单个文件大小
  33. max-file-size: 200MB
  34. #单次请求总文件大小
  35. max-request-size: 1000MB
  36. datasource:
  37. lis:
  38. jdbc-url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
  39. username: "sa"
  40. password: "hnthxyyy"
  41. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  42. his:
  43. jdbc-url: "jdbc:sqlserver://172.16.32.179:1433;databaseName=thxyhisdb"
  44. username: "sa"
  45. password:
  46. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  47. thmz:
  48. jdbc-url: "jdbc:mariadb://172.16.30.33:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
  49. username: "root"
  50. password: "hrg49086"
  51. driver-class-name: "org.mariadb.jdbc.Driver"
  52. durid:
  53. #type: com.alibaba.druid.pool.DruidDataSource
  54. #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
  55. initial-size: 10
  56. #最大连接池数量
  57. max-active: 40
  58. #最小连接池数量
  59. min-idle: 10
  60. #获取连接时最大等待时间,单位毫秒
  61. max-wait: 60000
  62. #用来检测连接是否有效的sql,要求是一个查询语句。
  63. validation-query: SELECT 1
  64. #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
  65. test-while-idle: true
  66. #申请连接时执行validationQuery检测连接是否有效,
  67. test-on-borrow: false
  68. #归还连接时执行validationQuery检测连接是否有效,
  69. test-on-return: false
  70. #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
  71. time-between-eviction-runs-millis: 60000
  72. #配置一个连接在池中最小生存的时间,单位是毫秒
  73. min-evictable-idle-time-millis: 300000
  74. #监控统计用的filter:stat 日志用的filter:log4j 防御sql注入的filter:wall
  75. filters: stat
  76. #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
  77. pool-prepared-statements: false
  78. #要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
  79. max-pool-prepared-statement-per-connection-size: 200
  80. #对于长时间不使用的连接强制关闭
  81. remove-abandoned: true
  82. #数据库链接超过3分钟开始关闭空闲连接 秒为单位
  83. remove-abandoned-timeout: 180
  84. #将当前关闭动作记录到日志
  85. log-abandoned: true
  86. autoconfigure:
  87. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  88. devtools:
  89. restart:
  90. enabled: true
  91. #该目录下的内容修改不重启
  92. exclude: images/**
  93. livereload:
  94. port: 35730
  95. thymeleaf:
  96. cache: false
  97. #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
  98. mybatis:
  99. configuration:
  100. map-underscore-to-camel-case: true
  101. #打印SQL信息
  102. logging:
  103. level:
  104. cn.hnthyy.thmz.mapper: info
  105. #企业微信消息服务地址测试环境
  106. serviceUrl: "http://172.16.30.26:8706/sendWxInfo/send"
  107. #卡号变更通知开关
  108. sendNoticeToHaiCi: true
  109. #就诊状态通知开关
  110. sendNoticeToPatient: true
  111. #是否修改LIS数据开关
  112. updateLisData: false
  113. #是否加收开关
  114. setUnitPrice: false
  115. #海慈开放服务地址测试环境
  116. #haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health"
  117. #泰和微信开放服务地址测试环境
  118. haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
  119. #泰和微信缴费服务地址测试环境
  120. wxPayOrderServiceUrl: "http://172.16.30.26:8706"
  121. #特殊门诊测试地址
  122. tsmzServiceUrl: "http://172.16.30.26:8706/markMtFees"
  123. #流行病调查问卷测试地址
  124. lxbdcwjUrl: "http://192.168.3.20:8081/assessments/covid/"
  125. #医技预约审核驳回回调地址
  126. callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://172.16.30.26:8805/wxserver/redirect/page2?to=resignOrRefund_"
  127. #叫号通知接口地址
  128. notifyServiceUrl: "http://172.16.30.26:8706/triage/notify"
  129. #语音生成接口地址
  130. audioServiceUrl: "http://webhis.thyy.cn:8706/voice/textToSpeech"
  131. #化验结果接口
  132. soap_url: "http://172.16.32.178:622/pushservice.asmx?wsdl"
  133. #websocket 地址前半部分
  134. webSocketHost: "ws://172.16.30.33:8089/thmz/"
  135. #门诊结算单地址
  136. mzjsdHost: http://172.16.30.26:3000