SpringBoot中使用Jedis進行緩存

1.引入Jedis依賴 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2.配置Jedis # Redis數據庫索引(默認爲0)
相關文章
相關標籤/搜索