application-dev.yml 6.8 KB

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