fix: 去除虚拟订单收货地址校验

This commit is contained in:
misworga831 2023-10-23 11:45:00 +08:00
parent 3d6eb7b4fa
commit b2ccdad483
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ public class SkuFreightRender implements CartRenderStep {
return;
}
//选择物流的时候计算价格
if(DeliveryMethodEnum.LOGISTICS.name().equals(tradeDTO.getCartList().get(0).getDeliveryMethod())){
if (DeliveryMethodEnum.LOGISTICS.name().equals(tradeDTO.getCartList().get(0).getDeliveryMethod())) {
if (memberAddress != null) {
//运费分组信息
Map<String, List<String>> freightGroups = freightTemplateGrouping(cartSkuVOS);
@ -116,7 +116,7 @@ public class SkuFreightRender implements CartRenderStep {
}
}
}
}else{
} else {
//自提清空不配送商品
tradeDTO.setNotSupportFreight(null);
}

File diff suppressed because one or more lines are too long