spring boot 整合 redis

1 引入依賴 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>1.5.6.RELEASE</version> </dependency> 2 添加配置 配置默認是寫在application.prop
相關文章
相關標籤/搜索