From 2e98b9f10ba88e33f4338e7ffa2d887cb11d01a8 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Tue, 31 Oct 2017 13:45:08 +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