|
@@ -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";
|
|
|
}
|
|
|
// 下单运力中含有自运力校验账户余额, 达达配送商模式无需校验
|