摘要: 1、在 pom.xml 中配置相关的 jar 依赖; 2、在 Springboot 核心配置文件 application.properties 中配置 3、配置了上面的步骤,Spring boot 将自动配置 RedisTemplate,在需要操作 redis 的类中注入 redisTemplate 阅读全文
posted @ 2019-03-23 15:11 申来来 阅读(52491) 评论(1) 推荐(2) 编辑