shiro整合springboot-03-缓存
2021-03-01 19:26
阅读:792
            
                         标签:man   apache   流程   info   pid   rgba   图片   com   http          shiro整合springboot-03-缓存 标签:man   apache   流程   info   pid   rgba   图片   com   http    原文地址:https://www.cnblogs.com/sc19/p/14433691.html使用CacheManager
1 Cache 作用

2 .使用shiro中默认EhCache实现缓存
(1).引入依赖
dependency>
  groupId>org.apache.shirogroupId>
  artifactId>shiro-ehcacheartifactId>
  version>1.5.3version>
dependency>
(2).开启缓存
评论
亲,登录后才可以留言!