server:
port: 80 #运行端口
spring:
datasource: #数据源配置
type: com.alibaba.druid.pool.DruidDataSource #连接池类型
password: 6230
username: root
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/flash?serverTimezone=UTC #mysql8以上会多时区,否则连接不上
#mybatis配置如下
mybatis:
configuration:
map-underscore-to-camel-case: true #数据库中表的下划线自动转换成驼峰式
mapper-locations: classpath:mybatis/mapper*.xml #mapper文件的路径这个路径下面的mapper。xml会被自动加载成mabatis的映射文件



