123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- server:
- port: 8081
- ################### spring配置 ###################
- spring:
- profiles:
- active: dev
- redis:
- host: localhost
- port: 6379
- password:
- http:
- converters:
- preferred-json-mapper: fastjson
- multipart:
- max-request-size: 100MB #最大请求大小
- max-file-size: 100MB #最大文件大小
- aop:
- proxy-target-class: true #false为启用jdk默认动态代理,true为cglib动态代理
- ################### druid配置 ###################
- druid:
- view:
- # enable: false无效
- username: root
- password: 123456
- slowsql: true
- datasource-sys:
- url: jdbc:mysql:
- username: root
- password: 123456
- filters: log4j,wall,mergeStat
- driver-class-name: com.mysql.jdbc.Driver
- initialSize: 5
- minIdle: 5
- maxActive: 20
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 30000
- validationQuery: SELECT 1 FROM DUAL
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- ################### mybatis-plus配置 ###################
- mybatis-plus:
- mapper-locations: classpath*:com/gxzc/zen
|