【功能完善】商城:App 满减送活动的详情,增加 description 规则描述

This commit is contained in:
YunaiV 2024-09-16 19:34:31 +08:00
parent ce9f00edef
commit 4fc10eff77

View File

@ -124,7 +124,6 @@ public class TradeDeliveryPriceCalculator implements TradePriceCalculator {
TradeConfigDO config = tradeConfigService.getTradeConfig(); TradeConfigDO config = tradeConfigService.getTradeConfig();
return config == null return config == null
|| Boolean.TRUE.equals(config.getDeliveryExpressFreeEnabled()) // 开启包邮 || Boolean.TRUE.equals(config.getDeliveryExpressFreeEnabled()) // 开启包邮
|| result.getFreeDelivery() //满减包邮
|| result.getPrice().getPayPrice() >= config.getDeliveryExpressFreePrice(); // 满足包邮的价格 || result.getPrice().getPayPrice() >= config.getDeliveryExpressFreePrice(); // 满足包邮的价格
} }