摘要:
问题描述: 1.springboot整合shiro之前@Cacheable、@Transactional等注解都可以正常使用; 2.整合了shiro之后,自定义MyShiroRealm中注入RoleUserService时 RolerUservice中的@Cacheable、@Transaction 阅读全文
摘要:
在springboot与Redis缓存使用时可以有多重方式使用,下面介绍其中的一种,声明式缓存也解释使用注解形式来操作Redis。 具体步骤如下: 1. 配置pom.xml(我的项目是maven工程) 2. 在application.yml 配置与Redis的链接信息(springboot的配置文件 阅读全文