File was renamed from src/main/java/com/hx/redisson/templates/config/RedisTempConfig.java |
| | |
| | | package com.hx.redisson.templates.config; |
| | | package com.hx.redisson.config; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonAutoDetect; |
| | | import com.fasterxml.jackson.annotation.PropertyAccessor; |
| | |
| | | */ |
| | | @Configuration |
| | | @EnableCaching |
| | | public class RedisTempConfig { |
| | | public class RedissonConfig { |
| | | @Bean |
| | | public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) { |
| | | RedisTemplate<String, Object> template = new RedisTemplate<String, Object>(); |