server: #端口号 port: 8089 #项目名,如果不设定,默认是 / servlet: context-path: "/thmz" spring: servlet: multipart: #单个文件大小 max-file-size: 20MB #单次请求总文件大小 max-request-size: 100MB datasource: 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 max-lifetime: 1800000 connection-timeout: 30000 connection-test-query: SELECT 1 validation-timeout: 10000 thmz: #jdbc-url: "jdbc:mariadb://localhost:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8" jdbc-url: "jdbc:mariadb://172.16.32.160:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8" username: "root" #password: "hrg49086" password: "thyy@2018" 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 max-lifetime: 1800000 connection-timeout: 30000 connection-test-query: SELECT 1 validation-timeout: 10000 devtools: restart: enabled: true 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.21:8081/adverse.event/sendWxInfo" #企业微信消息服务地址生产环境 serviceUrl: "http://172.16.32.160:8081/adverse.event/sendWxInfo" #卡号变更通知开关 sendNoticeToHaiCi: true #就诊状态通知开关 sendNoticeToPatient: true #海慈开放服务地址测试环境 #haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health" #海慈开放服务地址生产环境 haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health" #特殊门诊测试地址 #tsmzServiceUrl: "http://172.16.30.27:8704/shengyb/mt" #特殊门诊生产地址 tsmzServiceUrl: "http://172.16.32.163:8704/shengyb/mt"