Authored by chenchao

add log 4 test

@@ -122,6 +122,7 @@ public class OrderCacheService { @@ -122,6 +122,7 @@ public class OrderCacheService {
122 String uncompressHashValue = SnappyZipUtils.uncompress(hashVal); 122 String uncompressHashValue = SnappyZipUtils.uncompress(hashVal);
123 123
124 if (StringUtils.isNotEmpty(uncompressHashValue)) { 124 if (StringUtils.isNotEmpty(uncompressHashValue)) {
  125 + logger.info("in order list req {}, uncompressHashValue {}", req, uncompressHashValue);
125 return JSON.parseObject(uncompressHashValue, OrderListVo.class); 126 return JSON.parseObject(uncompressHashValue, OrderListVo.class);
126 } else { 127 } else {
127 return null; 128 return null;
@@ -157,6 +158,8 @@ public class OrderCacheService { @@ -157,6 +158,8 @@ public class OrderCacheService {
157 logger.info("hit OrderDetail cache ,uid {} orderCode {} actor {}", uid, orderCode, actor); 158 logger.info("hit OrderDetail cache ,uid {} orderCode {} actor {}", uid, orderCode, actor);
158 RedisKeyBuilder kb = CacheKeyBuilder.orderDetailKey(uid, actor.getValue(), orderCode); 159 RedisKeyBuilder kb = CacheKeyBuilder.orderDetailKey(uid, actor.getValue(), orderCode);
159 OrderDetailInfo orderDetailInfo = cacheClient.get(kb.getKey(), OrderDetailInfo.class); 160 OrderDetailInfo orderDetailInfo = cacheClient.get(kb.getKey(), OrderDetailInfo.class);
  161 + logger.info("hit OrderDetail cache ,uid {} orderCode {} actor {} orderDetailInfo {}",
  162 + uid, orderCode, actor, orderDetailInfo);
160 return orderDetailInfo; 163 return orderDetailInfo;
161 } 164 }
162 165