|
|
@ -15,6 +15,7 @@ import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* redis配置类
|
|
|
|
* redis配置类
|
|
|
|
|
|
|
|
*
|
|
|
|
* @program: springbootdemo
|
|
|
|
* @program: springbootdemo
|
|
|
|
* @Date: 2019/2/22 15:20
|
|
|
|
* @Date: 2019/2/22 15:20
|
|
|
|
* @Author: zjjlive
|
|
|
|
* @Author: zjjlive
|
|
|
@ -26,6 +27,7 @@ public class RedisConfig extends CachingConfigurerSupport {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* retemplate相关配置
|
|
|
|
* retemplate相关配置
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param factory
|
|
|
|
* @param factory
|
|
|
|
* @return
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|