摘要: 1.加入相关依赖包: 2.springboot配置文件: 3.建立获取spring容器获取bean工具类,通过Spring Aware(容器感知)来获取到ApplicationContext,然后根据ApplicationContext获取容器中的Bean,因为RedisTemplate的bean不 阅读全文
posted @ 2018-06-26 16:24 晨子语 阅读(3175) 评论(0) 推荐(0) 编辑