Authored by chenchao

add log 4 test

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