server: port: 80 spring: datasource: username: 数据库账号 password: 数据库密码 url: jdbc:mysql://localhost:3306/数据库名?characterEncoding=UTF-8&serverTimezone=UTC driver-class-name: com.mysql.cj.jdbc.Driver thymeleaf: cache: false prefix: classpath/templates suffix: .html encoding: utf-8 servlet: content-type: text/html mybatis: mapper-locations: classpath:mapping/*.xml type-aliases-package: 实体类路径 configuration: map-underscore-to-camel-case: true
springboot application.yml配置文件
最新推荐文章于 2024-06-13 21:12:10 发布