1、导库 2、application.yml 数据库 spring: datasource: driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/fund?useUnicode=true&characterEncoding=UTF-8