|
@@ -0,0 +1,189 @@
|
|
|
+server:
|
|
|
+ #端口号
|
|
|
+ port: 8089
|
|
|
+ #tomcat 日志
|
|
|
+ tomcat:
|
|
|
+ accesslog:
|
|
|
+ buffered: true
|
|
|
+ directory: D:/logs/thmz
|
|
|
+ enabled: true
|
|
|
+ file-date-format: .yyyy-MM-dd
|
|
|
+ pattern: common
|
|
|
+ prefix: access_log
|
|
|
+ rename-on-rotate: false
|
|
|
+ request-attributes-enabled: false
|
|
|
+ rotate: true
|
|
|
+ suffix: .log
|
|
|
+#项目名,如果不设定,默认是 /
|
|
|
+ servlet:
|
|
|
+ context-path: "/thmz"
|
|
|
+spring:
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ #单个文件大小
|
|
|
+ max-file-size: 20MB
|
|
|
+ #单次请求总文件大小
|
|
|
+ max-request-size: 100MB
|
|
|
+ datasource:
|
|
|
+ lis:
|
|
|
+ jdbc-url: "jdbc:sqlserver://172.16.32.178:1433;databaseName=eLimsCore"
|
|
|
+ #jdbc-url: "jdbc:sqlserver://172.16.32.160:1433;databaseName=eLimsCore"
|
|
|
+ username: "sa"
|
|
|
+ password: "hnthxyyy"
|
|
|
+ #password: "SAthyy123"
|
|
|
+ driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
|
|
|
+ # Hikari connection pool
|
|
|
+ type: "com.zaxxer.hikari.HikariDataSource"
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 15
|
|
|
+ auto-commit: true
|
|
|
+ idle-timeout: 30000
|
|
|
+ pool-name: 'DatebookHikariCP_lis'
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+ validation-timeout: 10000
|
|
|
+ his:
|
|
|
+ jdbc-url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
|
|
|
+ #jdbc-url: "jdbc:sqlserver://172.16.32.160:1433;databaseName=thxyhisdb"
|
|
|
+ username: "sa"
|
|
|
+ password:
|
|
|
+ #password: "SAthyy123"
|
|
|
+ driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
|
|
|
+ # Hikari connection pool
|
|
|
+ type: "com.zaxxer.hikari.HikariDataSource"
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 15
|
|
|
+ auto-commit: true
|
|
|
+ idle-timeout: 30000
|
|
|
+ pool-name: 'DatebookHikariCP_his'
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+ validation-timeout: 10000
|
|
|
+ thmz:
|
|
|
+ jdbc-url: "jdbc:mariadb://172.16.32.160:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
|
|
|
+ #jdbc-url: "jdbc:mariadb://localhost:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
|
|
|
+ username: "root"
|
|
|
+ password: "thyy@2018"
|
|
|
+ #password: "hrg49086"
|
|
|
+ driver-class-name: "org.mariadb.jdbc.Driver"
|
|
|
+ type: "com.zaxxer.hikari.HikariDataSource"
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 15
|
|
|
+ auto-commit: true
|
|
|
+ idle-timeout: 30000
|
|
|
+ pool-name: 'DatebookHikariCP_thmz'
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+ validation-timeout: 10000
|
|
|
+ devtools:
|
|
|
+ restart:
|
|
|
+ enabled: true
|
|
|
+ #该目录下的内容修改不重启
|
|
|
+ exclude: images/**
|
|
|
+ thymeleaf:
|
|
|
+ cache: false
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+# #spring cloud 微服务配置
|
|
|
+# application:
|
|
|
+# name: thmz-system-server
|
|
|
+# cloud:
|
|
|
+# consul:
|
|
|
+# #测试环境的consul 地址
|
|
|
+# #host: 127.0.0.1
|
|
|
+# #生产环境的consul 地址
|
|
|
+# host: 172.16.32.161
|
|
|
+# port: 8500
|
|
|
+# enabled: true
|
|
|
+# discovery:
|
|
|
+# enabled: true
|
|
|
+# serviceName: thmz_system_server
|
|
|
+# healthCheckPath: /thmz/actuator/health
|
|
|
+# activemq:
|
|
|
+# #测试环境的MQ地址
|
|
|
+# #broker-url: tcp://127.0.0.1:61616
|
|
|
+# #生产环境的MQ地址
|
|
|
+# broker-url: tcp://172.16.32.161:61616
|
|
|
+# # 在考虑结束之前等待的时间
|
|
|
+# #spring.activemq.close-timeout=15s
|
|
|
+# # 默认代理URL是否应该在内存中。如果指定了显式代理,则忽略此值。
|
|
|
+# in-memory: true
|
|
|
+# # 是否在回滚回滚消息之前停止消息传递。这意味着当启用此命令时,消息顺序不会被保留。
|
|
|
+# non-blocking-redelivery: false
|
|
|
+# # 等待消息发送响应的时间。设置为0等待永远。
|
|
|
+# send-timeout: 0s
|
|
|
+# #账号
|
|
|
+# user: system
|
|
|
+# # 密码
|
|
|
+# password: manager
|
|
|
+# #启了连接池, 默认是不开的
|
|
|
+# pool:
|
|
|
+# enabled: true
|
|
|
+# max-connections: 10
|
|
|
+# #默认情况下activemq提供的是queue模式,若要使用topic模式需要配置下面配置
|
|
|
+# jms:
|
|
|
+# pub-sub-domain: true
|
|
|
+#
|
|
|
+##MQ 的topic
|
|
|
+#sendOrderStatusChangeTopic: orderStatusChange
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
|
|
|
+mybatis:
|
|
|
+ configuration:
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
+
|
|
|
+
|
|
|
+#打印SQL信息
|
|
|
+logging:
|
|
|
+ level:
|
|
|
+ cn.hnthyy.thmz.mapper: info
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#企业微信消息服务地址测试环境
|
|
|
+#serviceUrl: "http://172.16.30.26:8706/sendWxInfo/send"
|
|
|
+#企业微信消息服务地址生产环境
|
|
|
+serviceUrl: "http://webhis.thyy.cn:8706/sendWxInfo/send"
|
|
|
+
|
|
|
+#卡号变更通知开关
|
|
|
+sendNoticeToHaiCi: true
|
|
|
+#就诊状态通知开关
|
|
|
+sendNoticeToPatient: true
|
|
|
+#是否修改LIS数据开关
|
|
|
+updateLisData: true
|
|
|
+#海慈开放服务地址测试环境
|
|
|
+#haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health"
|
|
|
+#海慈开放服务地址生产环境
|
|
|
+#haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
|
|
|
+
|
|
|
+#泰和微信开放服务地址测试环境
|
|
|
+#haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
|
|
|
+#泰和微信开放服务地址生产环境
|
|
|
+haiciServiceUrl: "http://192.168.200.3:8805/wxserver"
|
|
|
+
|
|
|
+#泰和微信缴费服务地址测试环境
|
|
|
+#wxPayOrderServiceUrl: "http://172.16.30.26:8706"
|
|
|
+#泰和微信缴费服务地址生产环境
|
|
|
+wxPayOrderServiceUrl: "http://webhis.thyy.cn:8706"
|
|
|
+
|
|
|
+#特殊门诊测试地址
|
|
|
+#tsmzServiceUrl: "http://172.16.30.27:8704/shengyb/mt"
|
|
|
+#特殊门诊生产地址
|
|
|
+tsmzServiceUrl: "http://172.16.32.163:8704/shengyb/mt"
|
|
|
+
|
|
|
+#流行病调查问卷测试地址
|
|
|
+#lxbdcwjUrl: "http://192.168.3.20:8081/assessments/covid/"
|
|
|
+#流行病调查问卷生产地址
|
|
|
+lxbdcwjUrl: "http://csth.hnthhz.com:8083/assessments/covid/"
|