application-bak.yml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. servlet:
  22. multipart:
  23. #单个文件大小
  24. max-file-size: 20MB
  25. #单次请求总文件大小
  26. max-request-size: 100MB
  27. datasource:
  28. lis:
  29. jdbc-url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
  30. #jdbc-url: "jdbc:sqlserver://172.16.32.160:1433;databaseName=eLimsCore"
  31. username: "sa"
  32. password: "hnthxyyy"
  33. #password: "SAthyy123"
  34. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  35. # Hikari connection pool
  36. type: "com.zaxxer.hikari.HikariDataSource"
  37. minimum-idle: 5
  38. maximum-pool-size: 15
  39. auto-commit: true
  40. idle-timeout: 30000
  41. pool-name: 'DatebookHikariCP_lis'
  42. max-lifetime: 1800000
  43. connection-timeout: 30000
  44. connection-test-query: SELECT 1
  45. validation-timeout: 10000
  46. his:
  47. jdbc-url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
  48. #jdbc-url: "jdbc:sqlserver://172.16.32.160:1433;databaseName=thxyhisdb"
  49. username: "sa"
  50. password:
  51. #password: "SAthyy123"
  52. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  53. # Hikari connection pool
  54. type: "com.zaxxer.hikari.HikariDataSource"
  55. minimum-idle: 5
  56. maximum-pool-size: 15
  57. auto-commit: true
  58. idle-timeout: 30000
  59. pool-name: 'DatebookHikariCP_his'
  60. max-lifetime: 1800000
  61. connection-timeout: 30000
  62. connection-test-query: SELECT 1
  63. validation-timeout: 10000
  64. thmz:
  65. jdbc-url: "jdbc:mariadb://172.16.32.160:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
  66. #jdbc-url: "jdbc:mariadb://localhost:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
  67. username: "root"
  68. password: "thyy@2018"
  69. #password: "hrg49086"
  70. driver-class-name: "org.mariadb.jdbc.Driver"
  71. type: "com.zaxxer.hikari.HikariDataSource"
  72. minimum-idle: 5
  73. maximum-pool-size: 15
  74. auto-commit: true
  75. idle-timeout: 30000
  76. pool-name: 'DatebookHikariCP_thmz'
  77. max-lifetime: 1800000
  78. connection-timeout: 30000
  79. connection-test-query: SELECT 1
  80. validation-timeout: 10000
  81. devtools:
  82. restart:
  83. enabled: true
  84. #该目录下的内容修改不重启
  85. exclude: images/**
  86. thymeleaf:
  87. cache: false
  88. # #spring cloud 微服务配置
  89. # application:
  90. # name: thmz-system-server
  91. # cloud:
  92. # consul:
  93. # #测试环境的consul 地址
  94. # #host: 127.0.0.1
  95. # #生产环境的consul 地址
  96. # host: 172.16.32.161
  97. # port: 8500
  98. # enabled: true
  99. # discovery:
  100. # enabled: true
  101. # serviceName: thmz_system_server
  102. # healthCheckPath: /thmz/actuator/health
  103. # activemq:
  104. # #测试环境的MQ地址
  105. # #broker-url: tcp://127.0.0.1:61616
  106. # #生产环境的MQ地址
  107. # broker-url: tcp://172.16.32.161:61616
  108. # # 在考虑结束之前等待的时间
  109. # #spring.activemq.close-timeout=15s
  110. # # 默认代理URL是否应该在内存中。如果指定了显式代理,则忽略此值。
  111. # in-memory: true
  112. # # 是否在回滚回滚消息之前停止消息传递。这意味着当启用此命令时,消息顺序不会被保留。
  113. # non-blocking-redelivery: false
  114. # # 等待消息发送响应的时间。设置为0等待永远。
  115. # send-timeout: 0s
  116. # #账号
  117. # user: system
  118. # # 密码
  119. # password: manager
  120. # #启了连接池, 默认是不开的
  121. # pool:
  122. # enabled: true
  123. # max-connections: 10
  124. # #默认情况下activemq提供的是queue模式,若要使用topic模式需要配置下面配置
  125. # jms:
  126. # pub-sub-domain: true
  127. #
  128. ##MQ 的topic
  129. #sendOrderStatusChangeTopic: orderStatusChange
  130. #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
  131. mybatis:
  132. configuration:
  133. map-underscore-to-camel-case: true
  134. #打印SQL信息
  135. logging:
  136. level:
  137. cn.hnthyy.thmz.mapper: info
  138. #企业微信消息服务地址测试环境
  139. #serviceUrl: "http://172.16.30.26:8706/sendWxInfo/send"
  140. #企业微信消息服务地址生产环境
  141. serviceUrl: "http://webhis.thyy.cn:8706/sendWxInfo/send"
  142. #卡号变更通知开关
  143. sendNoticeToHaiCi: true
  144. #就诊状态通知开关
  145. sendNoticeToPatient: true
  146. #是否修改LIS数据开关
  147. updateLisData: true
  148. #海慈开放服务地址测试环境
  149. #haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health"
  150. #海慈开放服务地址生产环境
  151. #haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
  152. #泰和微信开放服务地址测试环境
  153. #haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
  154. #泰和微信开放服务地址生产环境
  155. haiciServiceUrl: "http://192.168.200.3:8805/wxserver"
  156. #泰和微信缴费服务地址测试环境
  157. #wxPayOrderServiceUrl: "http://172.16.30.26:8706"
  158. #泰和微信缴费服务地址生产环境
  159. wxPayOrderServiceUrl: "http://webhis.thyy.cn:8706"
  160. #特殊门诊测试地址
  161. #tsmzServiceUrl: "http://172.16.30.27:8704/shengyb/mt"
  162. #特殊门诊生产地址
  163. tsmzServiceUrl: "http://172.16.32.163:8704/shengyb/mt"
  164. #流行病调查问卷测试地址
  165. #lxbdcwjUrl: "http://192.168.3.20:8081/assessments/covid/"
  166. #流行病调查问卷生产地址
  167. lxbdcwjUrl: "http://csth.hnthhz.com:8083/assessments/covid/"