Authored by TANLING

add log

... ... @@ -62,10 +62,13 @@ public class ProductLimitCollector {
for (LimitValueHandler limitValueHandler : LIMIT_VALUES_LIST){
if (!limitValueHandler.isMatch(shoppingProductInfo, productLimitInfo)){
logger.info("{} product limit not match, goods info {}, coupon info {}", limitValueHandler.getLimitValue(), shoppingProductInfo, productLimitInfo);
return false;
}
}
logger.info("product limit matched, goods info {}, coupon info {}", shoppingProductInfo, productLimitInfo);
return true;
}
... ...