application-dev.yml 7.3 KB

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