| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- spring:
- application:
- name: fm-person
- datasource:
- druid:
- stat-view-servlet:
- enabled: true
- urlPattern: /druid/*
- resetEnable: true
- loginUsername: admin
- loginPassword: admin
- web-stat-filter:
- enabled: true
- urlPattern: /*
- sessionStatEnable: false
- sessionStatMaxCount: 1000
- profileEnable: true
- dynamic:
- druid: #以下是支持的全局默认值
- initial-size: 5
- max-active: 20
- min-idle: 5
- max-wait: 60000
- pool-prepared-statements: true
- max-pool-prepared-statement-per-connection-size: 20
- validation-query: SELECT 1
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- max-evictable-idle-time-millis: 900000
- keep-alive: true
- datasource:
- fm-person:
- url: jdbc:mysql://192.168.64.15:9934/${spring.application.name}?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
- username: root
- password: brzj123456
- driver-class-name: com.mysql.jdbc.Driver
- druid: # 以下是独立参数,每个库可以重新设置
- initial-size:
- validation-query: select 1 FROM DUAL #比如oracle就需要重新设置这个
- public-key: #(非全局参数)设置即表示启用加密,底层会自动帮你配置相关的连接参数和filter,推荐使用本项目自带的加密方法。
- server:
- port: ${SERVER_PORT:8814}
- dep:
- amqp:
- exchange:
- saas: saas.common.topic
- routingKey:
- saas: saas.common.group
- queue:
- saas: dep.saas.queue
- person:
- amqp:
- exchange:
- saas: saas.common.topic
- routingKey:
- saas: saas.common.account
- queue:
- saas: person.saas.queue
- #mybatis-plus:
- # mapper-locations: classpath*:/mapper/*Mapper.xml
- # typeAliasesPackage: com.persagy.fm.test.model.entity
|