Java Springboot 整合redis(Springboot-Version:2.1.3.RELEASE)
环境准备添加redis依赖org.springframework.bootspring-boot-starter-data-redisredis.clientsjedis在application.properties中添加redis属性spring.redis.host=localhostspring.redis.port=6379#spring.redis.password=#默认是0sprin