Browse Source

日志

master
weigang 5 years ago
parent
commit
68aeaf89c3
  1. 13
      app/Service/v3/Implementations/OrderOnlineService.php

13
app/Service/v3/Implementations/OrderOnlineService.php

@ -305,7 +305,18 @@ class OrderOnlineService implements OrderOnlineServiceInterface
// 校验订单总金额
if ($totalAmount != $totalMoney) {
throw new ErrorCodeException(ErrorCode::ORDER_TOTAL_AMOUNT_ERROR);
throw new ErrorCodeException(
ErrorCode::ORDER_TOTAL_AMOUNT_ERROR,
'',
[
'total_amount' => $totalAmount,
'total_money' => $totalMoney,
'deliveryAmount' => $deliveryAmount,
'$orderAmount' => $orderAmount,
'serviceMoney' => $serviceMoney,
'couponMoney' => $couponMoney,
]
);
}
// 校验订单总金额是否满足起送

Loading…
Cancel
Save