摘要: 如果取不到,可以考虑其他方式 场景: @Autowired private StringRedisTemplate redisTemplate; 想使用redisTemplate,但是使用时为null 解决: 1、在启动类Application中 增加 private static StringRe 阅读全文
posted @ 2019-04-18 16:28 袁骞骞 阅读(696) 评论(0) 推荐(0)