From 1b690930edcb3a2c1a0fc7de3fff1b352ca4597c Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Mon, 30 Oct 2017 15:16:57 +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