application-dev.yml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. server:
  2. #端口号
  3. port: 8089
  4. #tomcat 日志
  5. tomcat:
  6. accesslog:
  7. buffered: true
  8. directory: /home/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. web:
  21. upload:
  22. # path: E:/project/medical_pension/uploadroot
  23. path: ../uploadroot
  24. pay:
  25. url: http://localhost:7001/pay/NongPay
  26. spring:
  27. #jackson:
  28. #date-format: "yyyy-MM-dd HH:mm:ss"
  29. #设置为东八区时间
  30. #timezone: GMT+8
  31. #serialization:
  32. #使用数值timestamp表示日期
  33. #write-dates-as-timestamps: true
  34. #想要值为2019-01-01
  35. #write-dates-as-timestamps: false
  36. servlet:
  37. multipart:
  38. #单个文件大小
  39. max-file-size: 200MB
  40. #单次请求总文件大小
  41. max-request-size: 1000MB
  42. datasource:
  43. his:
  44. jdbc-url: "jdbc:sqlserver://130.150.161.71:1433;databaseName=hisdb"
  45. username: "sa"
  46. password: "Symhyy@123"
  47. # jdbc-url: "jdbc:sqlserver://130.150.161.124:1433;databaseName=po"
  48. # username: "sa"
  49. # password: "root"
  50. # jdbc-url: "jdbc:sqlserver://130.150.161.123:1433;databaseName=lijuSql"
  51. # username: "sa"
  52. # password: "root"
  53. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  54. durid:
  55. #type: com.alibaba.druid.pool.DruidDataSource
  56. #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
  57. initial-size: 50
  58. #最大连接池数量
  59. max-active: 120
  60. #最小连接池数量
  61. min-idle: 50
  62. #获取连接时最大等待时间,单位毫秒
  63. max-wait: 80000
  64. #使用非公平锁。
  65. use-unfair-lock: true
  66. #用来检测连接是否有效的sql,要求是一个查询语句。
  67. validation-query: SELECT 1
  68. #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
  69. test-while-idle: true
  70. #申请连接时执行validationQuery检测连接是否有效,
  71. test-on-borrow: true
  72. #归还连接时执行validationQuery检测连接是否有效,
  73. test-on-return: false
  74. #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
  75. time-between-eviction-runs-millis: 80000
  76. #配置一个连接在池中最小生存的时间,单位是毫秒
  77. min-evictable-idle-time-millis: 400000
  78. #监控统计用的filter:stat 日志用的filter:log4j 防御sql注入的filter:wall
  79. filters: stat
  80. #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
  81. pool-prepared-statements: false
  82. #要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
  83. max-pool-prepared-statement-per-connection-size: 200
  84. #对于长时间不使用的连接强制关闭
  85. remove-abandoned: true
  86. #数据库链接超过180秒开始关闭空闲连接 秒为单位
  87. remove-abandoned-timeout: 180
  88. #将当前关闭动作记录到日志
  89. log-abandoned: true
  90. autoconfigure:
  91. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  92. devtools:
  93. restart:
  94. enabled: true
  95. #该目录下的内容修改不重启
  96. exclude: images/**
  97. livereload:
  98. port: 35730
  99. thymeleaf:
  100. cache: false
  101. #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
  102. #mybatis:
  103. # configuration:
  104. # map-underscore-to-camel-case: true
  105. mybatis-plus:
  106. configuration:
  107. map-underscore-to-camel-case: true
  108. #打印SQL信息
  109. logging:
  110. level:
  111. cn.hnthyy.thmz.mapper: debug
  112. #企业微信消息服务地址生产环境
  113. serviceUrl: "http://localhost:8706/sendWxInfo/send"
  114. #卡号变更通知开关
  115. sendNoticeToHaiCi: true
  116. #就诊状态通知开关
  117. sendNoticeToPatient: true
  118. #是否修改LIS数据开关
  119. updateLisData: true
  120. #是否加收开关
  121. setUnitPrice: false
  122. #江苏省卫生健康云临床检验平台
  123. jyYunServiceUrl: "http://localhost:9999"
  124. #江苏省卫生健康云临床检验平台私钥
  125. jyYunSecretKey: "YXCxOq4DUMuFfFrPs9dFKXPKT0PSjWzY"
  126. #江苏省卫生健康云临床检验平台公钥
  127. jyYunPublicKey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTvIqnaVY0pF3orpRG98Fk9XH1A4hllYS4wzKXIjqtN2pv02vVnbFSLIL6lxbgHsAXXMK02H455jqa3eO345Zd9SGx3MHWZMFzmvlgjY939SnL0onElQVrtTq6FchTHac4I/MFoHmXrgj9lh+ZTyf14kdW3g6DDtWhCfZoA50xJNosK7gcr7F2HENZ5I8HOb8kPAPz9X64eyuzGjc+cckE+9fe1JcMd9PmPfFyqdksFF4iu8ucoJ8xCE5GzOflCUzr4oGR/D73Eay4PGil3/RBoem49czUbkSWZjflEoxxzbkW32w2BIoqy2LmfGMw/3mC3ovneaKyhjiiLgtJ1qmQIDAQAB"
  128. #江苏省卫生健康云影像平台
  129. yxServiceUrl: "http://localhost/openapi/api/v2"
  130. #江苏省卫生健康云影像平台应用编码
  131. yxAppKey: "1643138344449949697"
  132. #江苏省卫生健康云影像平台密钥
  133. yxSecretKey: "7ba57d460a24588a2a9a331243b9ff0e"
  134. #海慈开放服务地址生产环境
  135. #haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
  136. #泰和微信开放服务地址生产环境
  137. haiciServiceUrl: "https://tbd"
  138. #泰和微信缴费服务地址生产环境
  139. wxPayOrderServiceUrl: "http://localhost:8706"
  140. #住院服务基础地址
  141. zyServiceUrl: "http://localhost:8706"
  142. #特殊门诊生产地址
  143. tsmzServiceUrl: "http://localhost:8706/markMtFees"
  144. siInventoryServiceUrl: "http://localhost:8706/siInventory"
  145. #流行病调查问卷生产地址
  146. lxbdcwjUrl: "http://tbd"
  147. #医技预约审核驳回回调地址
  148. callBackYJYYUrl: "https://tbd"
  149. #叫号通知接口地址
  150. notifyServiceUrl: "http://localhost:8706/triage/notify"
  151. #语音生成接口地址
  152. audioServiceUrl: "http://tbd"
  153. #化验结果接口
  154. soap_url: "http://localhost:622/pushservice.asmx?wsdl"
  155. #websocket 地址前半部分
  156. webSocketHost: "ws://localhost:81/thmz/"
  157. #门诊结算单地址
  158. mzjsdHost: "http://localhost:8080"
  159. #websocket 药房地址前半部分
  160. webSocketPrescriptionHost: "ws://localhost:9000/"
  161. #websocket 药房发送信息接口地址
  162. webSocketServiceUrl: "http://localhost:9000/api/v1/sendMessage"
  163. #合理用药分析接口
  164. rationalUseOfMedicineUrl: "http://localhost:8016/Audit.ashx"
  165. #智能银行接口地址
  166. misPossUrl: "http://localhost:8080/ccbmis/transaction/"
  167. #健康宣教
  168. healthEducationUrl: https://tbd
  169. #pacs检查地址
  170. pacsUrl: http://localhost:8099/FilmList.php
  171. #微信支付链接
  172. wxPayQrUrl: https://tbd
  173. #调用医保药品更新最新报销比例地址
  174. hiDrugPostUrl: "http://localhost:8706/nationalMatch/queryPsnPayProp?hiListCode="
  175. #( Windows配置,Linux配置 /home/thmz_system/uploadPath)
  176. filepath:
  177. profile: /home/thmz_system/uploadPath