server: port: 端口号 spring: datasource: url: jdbc:mysql://localhost:3306/数据库名字?serverTimezone=UTC username: 账号 password: 密码 driver-class-name: com.mysql.cj.jdbc.Driver #自定义配置,需要使用@Value作用于成员变量上,把值赋给@Value绑定的成员变量 file: staticAccessPath: /userimg/** #逻辑路径,暴漏给用户的路径 uploadFolder: D:/vuers/myqwork/public/userpic/ #本地路径,图片真正存放的路径,这里放前端的资源路径 ,public文件夹下面 #分页pageHelper pagehelper: helper-dialect: mysql reasonable: true support-methods-arguments: true