摘要: spring boot项目中使用redis作为缓存。 先创建spring boot的maven工程,在pom.xml中添加依赖 在application.properties中添加配置 在启动类中添加注解 @EnableCaching会为每个bean中被 @Cacheable, @CachePut  阅读全文
posted @ 2017-06-12 21:50 bad_boy_f 阅读(12629) 评论(0) 推荐(1) 编辑