From f7f97305c792bf765efff914b99068c1ed374017 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Wed, 01 Nov 2017 10:37:09 +0800 Subject: [PATCH] 暂停保存原始数据 --- src/main/resources/redis.xml | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/main/resources/redis.xml b/src/main/resources/redis.xml index 2db0476..b162028 100644 --- a/src/main/resources/redis.xml +++ b/src/main/resources/redis.xml @@ -30,18 +30,10 @@ <property name="connectionFactory" ref="jedisConnectionFactory" /> <property name="defaultSerializer" ref="stringRedisSerializer" /> - <property name="keySerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="valueSerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="hashKeySerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> - <property name="hashValueSerializer"> - <bean class="org.springframework.data.redis.serializer.StringRedisSerializer" /> - </property> + <property name="keySerializer" ref="stringRedisSerializer" /> + <property name="valueSerializer" ref="stringRedisSerializer" /> + <property name="hashKeySerializer" ref="stringRedisSerializer" /> + <property name="hashValueSerializer" ref="stringRedisSerializer" /> </bean> </beans> \ No newline at end of file -- Gitblit v1.8.0