shish 2 vuotta sitten
vanhempi
commit
1c419fdd78
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      app-mall/controllers/OrderController.php

+ 6 - 0
app-mall/controllers/OrderController.php

@@ -158,6 +158,12 @@ class OrderController extends BaseController
                 }
             }
 
+            if ($return->sendType == 2) {
+                if (in_array($return->shopId, [2, 726, 1490, 13626])) {
+                    util::fail('暂时不能使用跑腿');
+                }
+            }
+
             $transaction->commit();
             $orderSn = $return->orderSn ?? '';
             $orderPrice = $return->orderPrice ?? 0;