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

浙公网安备 33010602011771号