Authored by ping

update redis

@@ -24,7 +24,7 @@ public class RedisTemplate { @@ -24,7 +24,7 @@ public class RedisTemplate {
24 24
25 private final static Logger log = LoggerFactory.getLogger(RedisTemplate.class); 25 private final static Logger log = LoggerFactory.getLogger(RedisTemplate.class);
26 26
27 - @Resource 27 + @Resource(name="yHRedisTemplate")
28 YHRedisTemplate<String, String> yHRedisTemplate; 28 YHRedisTemplate<String, String> yHRedisTemplate;
29 29
30 /** 30 /**
@@ -30,7 +30,7 @@ public class RedisValueCache { @@ -30,7 +30,7 @@ public class RedisValueCache {
30 30
31 private final static Logger log = LoggerFactory.getLogger(RedisValueCache.class); 31 private final static Logger log = LoggerFactory.getLogger(RedisValueCache.class);
32 32
33 - @Resource 33 + @Resource(name="yhValueOperations")
34 YHValueOperations<String, String> yhValueOperations; 34 YHValueOperations<String, String> yhValueOperations;
35 35
36 /** 36 /**
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <parent> 5 <parent>
6 <groupId>com.yoho</groupId> 6 <groupId>com.yoho</groupId>
7 <artifactId>parent</artifactId> 7 <artifactId>parent</artifactId>
8 - <version>1.1.4-SNAPSHOT</version> 8 + <version>1.1.5-SNAPSHOT</version>
9 </parent> 9 </parent>
10 <groupId>com.yoho.dsf</groupId> 10 <groupId>com.yoho.dsf</groupId>
11 <artifactId>yoho-unions</artifactId> 11 <artifactId>yoho-unions</artifactId>
@@ -40,7 +40,7 @@ public class DrawServiceImpl implements DrawService { @@ -40,7 +40,7 @@ public class DrawServiceImpl implements DrawService {
40 // CacheClient cacheClient; 40 // CacheClient cacheClient;
41 41
42 42
43 - @Resource 43 + @Resource(name="valueOperations")
44 YHValueOperations<String, String> valueOperations; 44 YHValueOperations<String, String> valueOperations;
45 45
46 46
@@ -24,10 +24,10 @@ public class MobvistaServiceImpl implements IMobvistaService { @@ -24,10 +24,10 @@ public class MobvistaServiceImpl implements IMobvistaService {
24 24
25 static Logger log = LoggerFactory.getLogger(MobvistaServiceImpl.class); 25 static Logger log = LoggerFactory.getLogger(MobvistaServiceImpl.class);
26 26
27 - @Resource 27 + @Resource(name="yHRedisTemplate")
28 YHRedisTemplate<String, String> yHRedisTemplate; 28 YHRedisTemplate<String, String> yHRedisTemplate;
29 29
30 - @Resource 30 + @Resource(name="yhValueOperations")
31 YHValueOperations<String, String> yhValueOperations; 31 YHValueOperations<String, String> yhValueOperations;
32 32
33 private static final String UNION_KEY = "UNION:KEY:"; 33 private static final String UNION_KEY = "UNION:KEY:";
@@ -53,10 +53,10 @@ public class UnionServiceImpl implements IUnionService { @@ -53,10 +53,10 @@ public class UnionServiceImpl implements IUnionService {
53 53
54 static Logger log = LoggerFactory.getLogger(UnionServiceImpl.class); 54 static Logger log = LoggerFactory.getLogger(UnionServiceImpl.class);
55 55
56 - @Resource 56 + @Resource(name="yHRedisTemplate")
57 YHRedisTemplate<String, String> yHRedisTemplate; 57 YHRedisTemplate<String, String> yHRedisTemplate;
58 58
59 - @Resource 59 + @Resource(name="yhValueOperations")
60 YHValueOperations<String, String> yhValueOperations; 60 YHValueOperations<String, String> yhValueOperations;
61 61
62 @Resource 62 @Resource