springboot中操作redis 1、引入pom依赖 <!--redis--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-