server: port: 8080 # 是否开启API日志 (true|false) API_LOG: true spring: application: name: test-prod config: name: application-prod datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://172.19.0.16:3306/daogucms?useUnicode=true& characterEncoding=UTF-8& useJDBCCompliantTimezoneShift=true& useLegacyDatetimeCode=false& serverTimezone=UTC& allowMultiQueries=true& rewriteBatchedStatements=true& useAffectedRows=true username: root password: e^mxGHsidcg1 data: redis: host: 172.19.0.11 port: 6388 password: j1aK^4A8qdvr # cache: # type: redis # redis: # time-to-live: 10000 # 缓存的默认过期时间(毫秒)(与 @Cacheable 缓存时间关联)