server: # port: 8099 tomcat: uri-encoding: UTF-8 max-swallow-size: -1 # tomcat默认大小2M,超过2M的文件不会被捕获,需要调整此处大小为100MB或者-1即可 spring: jackson: time-zone: Asia/Shanghai date-format: yyyy-MM-dd HH:mm:ss application: name: imooc-red-book-nacos profiles: active: dev nacos: counts: 10 banner: location: classpath:banner/banner.txt servlet: multipart: max-file-size: 1024MB # 文件上传大小限制,设置最大值,不能超过该值,否则报错 max-request-size: 1024MB # 文件最大请求限制,用于批量上传 # location: /Users/wuzhongjie/Desktop/vlog-1.0.0/vlogdata nacos: counts: 10 # 整合mybatis mybatis: type-aliases-package: com.imooc.pojo # 所有pojo类所在的包路径 mapper-locations: classpath:mapper/*.xml # mapper映射文件 # 通用mapper工具的配置 mapper: mappers: com.imooc.my.mapper.MyMapper # 配置MyMapper,包含了一些封装好的CRUD方法 not-empty: false # 在进行数据库操作的时候,username != null 是否会追加 username != '' identity: MYSQL # 分页插件助手的配置 pagehelper: helper-dialect: MYSQL support-methods-arguments: true # 日志级别 logging: level: root: info