application-demo.yml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. max-connections: 30000
  18. #项目名,如果不设定,默认是 /
  19. servlet:
  20. context-path: "/thmz"
  21. web:
  22. upload:
  23. # path: E:/project/medical_pension/uploadroot
  24. path: ../uploadroot
  25. spring:
  26. #jackson:
  27. #date-format: "yyyy-MM-dd HH:mm:ss"
  28. #设置为东八区时间
  29. #timezone: GMT+8
  30. #serialization:
  31. #使用数值timestamp表示日期
  32. #write-dates-as-timestamps: true
  33. #想要值为2019-01-01
  34. #write-dates-as-timestamps: false
  35. servlet:
  36. multipart:
  37. #单个文件大小
  38. max-file-size: 200MB
  39. #单次请求总文件大小
  40. max-request-size: 1000MB
  41. datasource:
  42. his:
  43. jdbc-url: "jdbc:sqlserver://172.16.32.179:1433;databaseName=demohisdb"
  44. username: "sa"
  45. password:
  46. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  47. durid:
  48. #type: com.alibaba.druid.pool.DruidDataSource
  49. #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
  50. initial-size: 40
  51. #最大连接池数量
  52. max-active: 100
  53. #最小连接池数量
  54. min-idle: 40
  55. #获取连接时最大等待时间,单位毫秒
  56. max-wait: 60000
  57. #使用非公平锁。
  58. use-unfair-lock: true
  59. #用来检测连接是否有效的sql,要求是一个查询语句。
  60. validation-query: SELECT 1
  61. #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
  62. test-while-idle: true
  63. #申请连接时执行validationQuery检测连接是否有效,
  64. test-on-borrow: true
  65. #归还连接时执行validationQuery检测连接是否有效,
  66. test-on-return: false
  67. #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
  68. time-between-eviction-runs-millis: 60000
  69. #配置一个连接在池中最小生存的时间,单位是毫秒
  70. min-evictable-idle-time-millis: 300000
  71. #监控统计用的filter:stat 日志用的filter:log4j 防御sql注入的filter:wall
  72. filters: stat
  73. #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
  74. pool-prepared-statements: false
  75. #要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
  76. max-pool-prepared-statement-per-connection-size: 200
  77. #对于长时间不使用的连接强制关闭
  78. remove-abandoned: true
  79. #数据库链接超过180秒开始关闭空闲连接 秒为单位
  80. remove-abandoned-timeout: 180
  81. #将当前关闭动作记录到日志 此配置项会影响性能,只在排查的时候打开,系统运行时最好关闭。
  82. log-abandoned: true
  83. autoconfigure:
  84. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  85. devtools:
  86. restart:
  87. enabled: true
  88. #该目录下的内容修改不重启
  89. exclude: images/**
  90. livereload:
  91. port: 35730
  92. thymeleaf:
  93. cache: false
  94. #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
  95. #mybatis:
  96. # configuration:
  97. # map-underscore-to-camel-case: true
  98. mybatis-plus:
  99. configuration:
  100. map-underscore-to-camel-case: true
  101. #打印SQL信息
  102. logging:
  103. level:
  104. cn.hnthyy.thmz.mapper: debug
  105. #management:
  106. # server:
  107. # port: 9091
  108. # endpoints:
  109. # web:
  110. # base-path: /actuator
  111. # exposure:
  112. # include: '*'
  113. # metrics:
  114. # export:
  115. # simple:
  116. # enabled: true
  117. # jmx:
  118. # enabled: true
  119. # prometheus:
  120. # enabled: true
  121. # distribution:
  122. # percentiles-histogram:
  123. # http:
  124. # server:
  125. # requests: false
  126. # minimum-expected-value:
  127. # http:
  128. # server:
  129. # requests: 20ms
  130. # maximum-expected-value:
  131. # http:
  132. # server:
  133. # requests: 200ms
  134. # endpoint:
  135. # metrics:
  136. # enabled: true
  137. # health:
  138. # show-details: always
  139. # probes:
  140. # enabled: true
  141. # prometheus:
  142. # enabled: true
  143. #企业微信消息服务地址测试环境
  144. serviceUrl: "http://172.16.30.26:8706/sendWxInfo/send"
  145. #卡号变更通知开关
  146. sendNoticeToHaiCi: true
  147. #就诊状态通知开关
  148. sendNoticeToPatient: true
  149. #是否修改LIS数据开关
  150. updateLisData: false
  151. #是否加收开关
  152. setUnitPrice: false
  153. #海慈开放服务地址测试环境
  154. #haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health"
  155. #铭和微信开放服务地址测试环境
  156. haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
  157. #铭和微信缴费服务地址测试环境 8077
  158. wxPayOrderServiceUrl: "http://172.16.30.26:8706"
  159. #特殊门诊测试地址 8077
  160. tsmzServiceUrl: "http://172.16.30.26:8706/markMtFees"
  161. #流行病调查问卷测试地址
  162. lxbdcwjUrl: "http://192.168.3.20:8081/assessments/covid/"
  163. #医技预约审核驳回回调地址
  164. callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://172.16.30.26:8805/wxserver/redirect/page2?to=resignOrRefund_"
  165. #叫号通知接口地址
  166. notifyServiceUrl: "http://172.16.30.26:8706/triage/notify"
  167. #集成平台前缀 webhis.thyy.cn:8706
  168. jcptUrl: "http://172.16.30.119:8706/"
  169. #语音生成接口地址
  170. audioServiceUrl: "http://webhis.thyy.cn:8706/voice/textToSpeech"
  171. #化验结果接口
  172. soap_url: "http://172.16.32.178:622/pushservice.asmx?wsdl"
  173. #websocket 地址前半部分
  174. webSocketHost: "ws://172.16.30.119:8089/thmz/"
  175. #门诊结算单地址 http://webhis.thyy.cn:8080
  176. mzjsdHost: http://172.16.30.119:3000
  177. #websocket 药房地址前半部分 172.16.32.161
  178. webSocketPrescriptionHost: "ws://172.16.30.119:9000/"
  179. #websocket 药房发送信息接口地址
  180. webSocketServiceUrl: "http://172.16.30.119:9000/api/v1/sendMessage"
  181. #合理用药分析接口
  182. rationalUseOfMedicineUrl: "http://172.16.32.121:8016/Audit.ashx"
  183. #智能银行接口地址
  184. misPossUrl: "http://172.16.32.201:8080/ccbmis/transaction/"
  185. #pacs检查地址
  186. pacsUrl: http://172.16.32.122:8099
  187. #健康宣教
  188. healthEducationUrl: https://staticweb.hnthyy.cn/healthEducation
  189. #微信支付链接
  190. wxPayQrUrl: https://staticweb.hnthyy.cn/wxserver/redirect/guideBillScan?patNo=patientId
  191. #调用医保药品更新最新报销比例测试地址
  192. hiDrugPostUrl: "http://172.16.30.26:8706/nationalMatch/queryPsnPayProp?hiListCode="
  193. #( Windows配置,Linux配置 /home/thmz_system/uploadPath)
  194. filepath:
  195. profile: D:\thmz_system\uploadPath