springboot中redis的使用

https://note.youdao.com/share/?id=c1dcb02ace35a418bac7c2ba5829c7be&type=note#/ 先引入redis的依賴 開啓註解 @Cacheable(cacheNames = "product", key = "#currPage") //#指定參數作爲key 不填默認所有 //將結果緩存到redis中 緩存區名叫product ke
相關文章
相關標籤/搜索