@@ -1368,6 +1368,7 @@ class WholeController extends Curd
$couponUseJson = [];
if (!empty($params['join_order_member_id']) && !empty($params['preferential'])) {
$couponResult = OrderService::payUseCoupon('pay', 'Y', $params['join_order_member_id'], $params['goodsContentList'], $params['preferential'], $params['order_amount_total']);
+ dump($couponResult['pay_amount'],$params['order_amount_pay']);
if (!empty($couponResult['pay_amount']) && $couponResult['pay_amount'] != $params['order_amount_pay']) {
throw new BusinessException("计算优惠后,实付金额错误!");
}