Spring Data Cache注解使用 方法是一个对象,使用对象中的属性,如ID,作为cache key RedisConnection超时设置 参考 SpringBoot使用Redis缓存 转载于:https://www.cnblogs.com/tonyq/p/8085414.html