摘要: #准备工作 配置application.yml spring: thymeleaf: #thymeleaf cache: false datasource: #datasource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql 阅读全文
posted @ 2020-04-25 23:45 CyberPelican 阅读(385) 评论(0) 推荐(0) 编辑
摘要: springboot Cache #使用缓存 使用springboot的缓存时添加依赖, 或直接使用redis的starter <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start 阅读全文
posted @ 2020-04-25 23:41 CyberPelican 阅读(369) 评论(0) 推荐(0) 编辑