From 85df753ac3d0a92006665462c4074aefde6ddfc9 Mon Sep 17 00:00:00 2001
From: fengxiang <fengxiang@blit.7drlb>
Date: Mon, 30 Oct 2017 16:24:27 +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