摘要: @CachePut 和 @Cacheable 区别 操作步骤如下: 1. t1 t2 都为空值 @CachePut("t1") public String getData1(){ return service.getData1(); } @Cacheable("t2") public String 阅读全文
posted @ 2020-06-24 15:01 梦见舟 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Springboot版本 2.1.14.RELEASE Swagger版本 2.9.2 1. 引入jar pom.xml中加入 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start 阅读全文
posted @ 2020-06-24 11:34 梦见舟 阅读(313) 评论(0) 推荐(0) 编辑