shish vor 2 Jahren
Ursprung
Commit
b2fc88b86f
1 geänderte Dateien mit 0 neuen und 11 gelöschten Zeilen
  1. 0 11
      app-hd/controllers/PurchaseController.php

+ 0 - 11
app-hd/controllers/PurchaseController.php

@@ -162,17 +162,6 @@ class PurchaseController extends BaseController
     public function actionCreateOrder()
     {
         $post = Yii::$app->request->post();
-
-        $shop = $this->shop;
-        $pfShopId = $shop->pfShopId ?? 0;
-        $mainId = $shop->mainId ?? 0;
-        if ($mainId != 1553 && $mainId != 52) {
-            //除了花样年华、惠雅鲜花、天天鲜花和美天鲜花,其他人有开批发,暂不支持直接向别人采购
-            if (!empty($pfShopId)) {
-                util::fail('你有开批发店,暂不支持直接向别人采购');
-            }
-        }
-
         //多颜色数据整理
         $colorItem = $post['xj'] ?? [];
         $newXj = [];