|
@@ -27,9 +27,6 @@ import org.springframework.data.redis.serializer.*;
|
|
public class LettuceRedisConfig {
|
|
public class LettuceRedisConfig {
|
|
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
- private ObjectMapper objectMapper;
|
|
|
|
-
|
|
|
|
@Bean
|
|
@Bean
|
|
public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory connectionFactory) {
|
|
public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory connectionFactory) {
|
|
RedisTemplate<String, Object> redisTemplate = new RedisTemplate<>();
|
|
RedisTemplate<String, Object> redisTemplate = new RedisTemplate<>();
|