Authored by ping

update cahce

@@ -67,7 +67,7 @@ public class DingdangServiceImpl implements DingdangService { @@ -67,7 +67,7 @@ public class DingdangServiceImpl implements DingdangService {
67 67
68 //检查memcached中是否已经有该udid 68 //检查memcached中是否已经有该udid
69 AddUnionRequestBO cacheBO = cacheClient.get(unions_KEY + request.getApp() + "_" + request.getUdid(), AddUnionRequestBO.class); 69 AddUnionRequestBO cacheBO = cacheClient.get(unions_KEY + request.getApp() + "_" + request.getUdid(), AddUnionRequestBO.class);
70 - log.debug("addunions get cache key={}, value={}", unions_KEY + request.getApp() + "_" + request.getUdid(), cacheBO); 70 + log.info("addunions get cache key={}, value={}", unions_KEY + request.getApp() + "_" + request.getUdid(), cacheBO);
71 if (cacheBO != null) { 71 if (cacheBO != null) {
72 log.warn("addunions error app and udid is added with param is {}", request); 72 log.warn("addunions error app and udid is added with param is {}", request);
73 bo.setIsSuccess(false); 73 bo.setIsSuccess(false);
@@ -122,7 +122,7 @@ public class DingdangServiceImpl implements DingdangService { @@ -122,7 +122,7 @@ public class DingdangServiceImpl implements DingdangService {
122 122
123 //检查memcached中是否已经有该udid 123 //检查memcached中是否已经有该udid
124 AddUnionRequestBO cacheBO = cacheClient.get(memKey, AddUnionRequestBO.class); 124 AddUnionRequestBO cacheBO = cacheClient.get(memKey, AddUnionRequestBO.class);
125 - log.debug("activeUnion get cache key={}, value={}", memKey, cacheBO); 125 + log.info("activeUnion get cache key={}, value={}", memKey, cacheBO);
126 if (cacheBO == null) { 126 if (cacheBO == null) {
127 log.warn("activeunions error app and udid is not exists with param is {}", request); 127 log.warn("activeunions error app and udid is not exists with param is {}", request);
128 bo.setIsSuccess(false); 128 bo.setIsSuccess(false);