You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.6 KiB
60 lines
1.6 KiB
logging: |
|
level: |
|
# 这里设置的日志级别优先于logback-spring.xml文件Loggers中的日志级别。 |
|
apelet: info |
|
config: classpath:logback-spring.xml |
|
|
|
server: |
|
port: 9999 |
|
|
|
mybatis-plus: |
|
mapper-locations: classpath:apelet/*/dao/mapper/*Mapper.xml |
|
type-aliases-package: apelet.*.model |
|
global-config: |
|
db-config: |
|
logic-delete-value: -1 |
|
logic-not-delete-value: 1 |
|
|
|
pagehelper: |
|
helperDialect: mysql |
|
reasonable: true |
|
supportMethodsArguments: false |
|
params: count=countSql |
|
|
|
spring: |
|
datasource: |
|
type: com.alibaba.druid.pool.DruidDataSource |
|
druid: |
|
uaa-auth: |
|
url: jdbc:mysql://localhost:3306/apelet?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai |
|
username: root |
|
password: 123456 |
|
driverClassName: com.mysql.cj.jdbc.Driver |
|
name: uaa-auth |
|
initialSize: 10 |
|
minIdle: 10 |
|
maxActive: 50 |
|
maxWait: 60000 |
|
timeBetweenEvictionRunsMillis: 60000 |
|
minEvictableIdleTimeMillis: 300000 |
|
poolPreparedStatements: true |
|
maxPoolPreparedStatementPerConnectionSize: 20 |
|
maxOpenPreparedStatements: 20 |
|
validationQuery: SELECT 'x' |
|
testWhileIdle: true |
|
testOnBorrow: false |
|
testOnReturn: false |
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 |
|
filters: stat,wall |
|
useGlobalDataSourceStat: true |
|
web-stat-filter: |
|
enabled: true |
|
url-pattern: "/*" |
|
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*,/actuator/*" |
|
stat-view-servlet: |
|
enabled: true |
|
urlPattern: /druid/* |
|
resetEnable: true |
|
redis: |
|
host: localhost |
|
port: 6379
|
|
|