# 数据源配置 spring: mvc: pathmatch: matching-strategy: ant_path_matcher redis: host: 127.0.0.1 password: '@yf_2017' datasource: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver username: root password: yf_zsk url: jdbc:mysql://192.168.1.65:43306/hr_business?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true config: activate: on-profile: dev