server: port: 80 servlet: context-path: / tomcat: uri-encoding: utf-8 spring: servlet: multipart: enabled: true file-size-threshold: 0 max-file-size: 10MB max-request-size: 100MB mvc: view: prefix/spring: mvc: view: suffix: #数据库连接配置 datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://23.97.74.226:3306/oes?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8 username: oes password: oes jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss #mybatis的相关配置 mybatis: #mapper配置文件 mapper-locations: classpath:mapper/*.xml type-aliases-package: com.ledao.entity #开启驼峰命名 configuration: map-underscore-to-camel-case: true