Browse Source

会员升级

Kirin 1 month ago
parent
commit
da850e6672
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/controller/api/v1/order/StoreOrderController.php

+ 3 - 3
app/controller/api/v1/order/StoreOrderController.php

@@ -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);