#SpringBoot配置mysql信息 spring: datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3307/mybatisdb?useUnicode=true&characterEncoding=utf8&useSSL=false username: root password: 123456 #SpringBoot整合Mybatis配置 mybatis: #指定UserMapper.xml文件的位置 mapper-locations: classpath:mappers/*.xml #开启驼峰映射 configuration: map-underscore-to-camel-case: true
application.yml
最新推荐文章于 2023-12-29 13:58:20 发布