1、使用RedisTemplate访问Redis数据结构
redisTemplate.opsForValue(); //操作字符串
redisTemplate.opsForHash(); //操作hash
redisTemplate.opsForList(); //操作list
redisTemplate.opsForSet(); //操作set
redisTemplate.opsForZSet(); //操作有序set
http://www.cnblogs.com/EasonJim/p/7803067.html
https://blog.csdn.net/qq_27376871/article/details/79893940