server: port: 8091 # 项目启动的端口 spring: profiles: active: dev # 默认激活 dev 本地开发环境 servlet: multipart: max-file-size: 20MB # 单个文件最大大小 max-request-size: 100MB # 单次请求最大大小(包含多个文件) data: redis: database: 5 # Redis 数据库索引(默认为 0) host: 127.0.0.1 # Redis 服务器地址 port: 6379 # Redis 服务器连接端口 password: redis # Redis 服务器连接密码(默认为空) timeout: 5s # 读超时时间 connect-timeout: 5s # 链接超时时间 lettuce: pool: max-active: 200 # 连接池最大连接数 max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) min-idle: 0 # 连接池中的最小空闲连接 max-idle: 10 # 连接池中的最大空闲连接 mybatis-plus: configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl global-config: banner: false mapper-locations: classpath*:/mapperxml/*.xml