redis 总是报错 java.lang.ClassCastException: java.lang.Long cannot be cast to [B
解决办法键值设置过期时间
this.redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS);
redis 总是报错 java.lang.ClassCastException: java.lang.Long cannot be cast to [B
解决办法键值设置过期时间
this.redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS);