spring-boot-starter-cache设置

一、SpringBoot 2.x的配置方法; 1、通过spring-boot-starter-cache导入依赖; 2、spring-boot-autoconfigureCache的CacheAutoConfiguration负责全局的cache管理,RedisCacheConfiguration负
posted @ 2021-06-06 11:13  又是火星人  阅读(1059)  评论(0编辑  收藏  举报