自定义RedisTemplate
@Bean @SuppressWarnings("all") public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) throws UnknownHostException { RedisTemplate<String, Object> template = new RedisTemplate<String, Ob
原创
2020-12-27 16:07:45 ·
242 阅读 ·
0 评论