|
|
|
@ -51,7 +51,7 @@ class PaymentController extends BaseController |
|
|
|
->get(); |
|
|
|
//判断是否有购买多个特价商品
|
|
|
|
$result = $this->purchaseLimitService->PurchaseLimit($orderGoods); |
|
|
|
if(!$result){ |
|
|
|
if($result > 1){ |
|
|
|
Db::rollBack(); |
|
|
|
$this->log->event(LogLabel::ORDER_LOG, ['msg'=> '支付失败,同一订单不能存在多个特价商品','global_order_id' => $orderMain->global_order_id]); |
|
|
|
return $this->result(ErrorCode::PAY_FAILURE, $data,'同一订单不能存在多个特价商品'); |
|
|
|
|