org.springframework.boot spring-boot-starter-data-redis
二、配置redis的连接信息
#Redis spring.redis.host=127.0.0.1 spring.redis.port=6379
总结
集成Redis就分为这两步,导入依赖,和连接信息。

org.springframework.boot spring-boot-starter-data-redis
#Redis spring.redis.host=127.0.0.1 spring.redis.port=6379
集成Redis就分为这两步,导入依赖,和连接信息。