Authored by ping

update redis

... ... @@ -24,7 +24,7 @@ public class RedisTemplate {
private final static Logger log = LoggerFactory.getLogger(RedisTemplate.class);
@Resource
@Resource(name="yHRedisTemplate")
YHRedisTemplate<String, String> yHRedisTemplate;
/**
... ...
... ... @@ -30,7 +30,7 @@ public class RedisValueCache {
private final static Logger log = LoggerFactory.getLogger(RedisValueCache.class);
@Resource
@Resource(name="yhValueOperations")
YHValueOperations<String, String> yhValueOperations;
/**
... ...
... ... @@ -5,7 +5,7 @@
<parent>
<groupId>com.yoho</groupId>
<artifactId>parent</artifactId>
<version>1.1.4-SNAPSHOT</version>
<version>1.1.5-SNAPSHOT</version>
</parent>
<groupId>com.yoho.dsf</groupId>
<artifactId>yoho-unions</artifactId>
... ...
... ... @@ -40,7 +40,7 @@ public class DrawServiceImpl implements DrawService {
// CacheClient cacheClient;
@Resource
@Resource(name="valueOperations")
YHValueOperations<String, String> valueOperations;
... ...
... ... @@ -24,10 +24,10 @@ public class MobvistaServiceImpl implements IMobvistaService {
static Logger log = LoggerFactory.getLogger(MobvistaServiceImpl.class);
@Resource
@Resource(name="yHRedisTemplate")
YHRedisTemplate<String, String> yHRedisTemplate;
@Resource
@Resource(name="yhValueOperations")
YHValueOperations<String, String> yhValueOperations;
private static final String UNION_KEY = "UNION:KEY:";
... ...
... ... @@ -53,10 +53,10 @@ public class UnionServiceImpl implements IUnionService {
static Logger log = LoggerFactory.getLogger(UnionServiceImpl.class);
@Resource
@Resource(name="yHRedisTemplate")
YHRedisTemplate<String, String> yHRedisTemplate;
@Resource
@Resource(name="yhValueOperations")
YHValueOperations<String, String> yhValueOperations;
@Resource
... ...