叶君翔 il y a 3 ans
Parent
commit
88b69704c7

+ 0 - 2
lb-app/src/main/java/com/ydd/app/service/impl/ApiOrderNewServiceImpl.java

@@ -302,9 +302,7 @@ public class ApiOrderNewServiceImpl implements ApiOrderNewService {
         // 非自运力下单、或自运力达达收付配送商下单, 校验猎豹账户余额
         if ((!isMine || isDadaRapDelivery) && order.getPayAmount().compareTo(member.getAmount()) > 0 && PaymentTypeEnum.BALANCE.type.equals(req.getPaymentType())) {
             // 余额不足推送消息通知
-            checkAmount(member.getId());
             log.error("余额不足, memberId: {}, orderSn: {}", member.getId(), order.getOrderSn());
-//            throw new CustomAppException(ExceptionEnum.AMOUNT_ERROR);
             return "amount_not_enough";
         }
         // 下单运力中含有自运力校验账户余额, 达达配送商模式无需校验