|
@@ -218,7 +218,7 @@ public class RedisConfig {
|
|
|
Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer(Object.class);
|
|
|
ObjectMapper om = new ObjectMapper();
|
|
|
om.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
|
|
|
- om.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
|
|
|
+ // om.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
|
|
|
jackson2JsonRedisSerializer.setObjectMapper(om);
|
|
|
StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
|
|
|
// key采用String的序列化方式
|