|
@@ -383,9 +383,9 @@ class StoreOrderController
|
|
|
/** @var AwardIntegralServices $awardService */
|
|
|
$awardService = app()->make(AwardIntegralServices::class);
|
|
|
list($link_order, $reorder_count) = $awardService->checkReorder($uid, $total_price);
|
|
|
-// if ($link_order && $reorder_count >= 2) {
|
|
|
-// return app('json')->status('notice', '复投建议使用其他支付或混合支付', ['link_id' => $link_order, 'reorder_count' => $reorder_count, 'order' => $info]);
|
|
|
-// }
|
|
|
+ if ($link_order && $reorder_count >= 2) {
|
|
|
+ return app('json')->status('notice', '复投建议使用其他支付或混合支付', ['link_id' => $link_order, 'reorder_count' => $reorder_count, 'order' => $info]);
|
|
|
+ }
|
|
|
/** @var YuePayServices $yueServices */
|
|
|
$yueServices = app()->make(YuePayServices::class);
|
|
|
$pay = $yueServices->yueOrderPay($orderInfo, $uid);
|