[{"title":"( 28 个子文件 37KB ) springboot-aop-annotation-redis-demo:源码主要用于学习SpringBoot + AOP + Redis控制Redis自动缓存和删除,通过AOP切面+基于自定义注释解,实现缓存查询,清除操作,缓存层使用RedisTemplate,重新自带的RedisTemplate实现分库存存,查询,数据库使用MySQL 8.0.16,持久层使用Spring Data JPA,前端调用Swagger-UI 2.9.2提供API可视化调试操作-源码","children":[{"title":"springboot-aop-annotation-redis-demo-master","children":[{"title":"pom.xml <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"aop","children":[{"title":"redis","children":[{"title":"demo","children":[{"title":"ComExampleAopRedisDemoApplicationTests.java <span style='color:#111;'> 243B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"redis.properties <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"logback-spring.xml <span style='color:#111;'> 10.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"aop","children":[{"title":"redis","children":[{"title":"demo","children":[{"title":"config","children":[{"title":"Swagger2Config.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"aspect","children":[{"title":"ClearCacheAspect.java <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"QueryCacheAspect.java <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"ComExampleAopRedisDemoApplication.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"repository","children":[{"title":"UserRepository.java <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"JPARepository.java <span style='color:#111;'> 762B </span>","children":null,"spread":false}],"spread":false},{"title":"convert","children":[{"title":"DTOEntityConvert.java <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"UserConvert.java <span style='color:#111;'> 845B </span>","children":null,"spread":false}],"spread":false},{"title":"annotation","children":[{"title":"ParameterCacheKey.java <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"AOPCacheKey.java <span style='color:#111;'> 919B </span>","children":null,"spread":false}],"spread":false},{"title":"dto","children":[{"title":"UserDTO.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":false},{"title":"common","children":[{"title":"CacheNameSpace.java <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"AOPMethodUtil.java <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"redis","children":[{"title":"config","children":[{"title":"RedisConstants.java <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"RedisConfig.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"FastJson2JsonRedisSerializer.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"RedisUtil.java <span style='color:#111;'> 17.01KB </span>","children":null,"spread":false},{"title":"EnhanceRedisTemplate.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"entity","children":[{"title":"User.java <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"BaseEntity.java <span style='color:#111;'> 747B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]