springboot整合redis
1.依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency>
2.配置
# Redis 配置 spring.redis.host=localhost spring.redis.port=6379
...其他设置
https://www.cnblogs.com/fps2tao/p/13824958.html
标签:fps2tao,redis,springboot,spring,之三,boot From: https://www.cnblogs.com/fps2tao/p/17315404.html