RedisTemplate操作Redis(spring-data-redis) 参看博客:https://www.cnblogs.com/songanwei/p/9274348.html 使用文档:StringRedisTemplate+RedisTemplate使用说明 Java半颗糖