shish 3 жил өмнө
parent
commit
f0eb11b6ae

+ 2 - 2
app-ghs/controllers/CheckOrderController.php

@@ -125,7 +125,7 @@ class CheckOrderController extends BaseController
             util::fail('花材格式不正确');
             util::fail('花材格式不正确');
         }
         }
 
 
-        if ($this->shopId == 2167) {
+        //if ($this->shopId == 2167) {
             foreach ($ghsItemInfo as $key => $val) {
             foreach ($ghsItemInfo as $key => $val) {
                 $pId = $val['productId'] ?? 0;
                 $pId = $val['productId'] ?? 0;
                 $info = ProductClass::getById($pId, true);
                 $info = ProductClass::getById($pId, true);
@@ -133,7 +133,7 @@ class CheckOrderController extends BaseController
                     unset($ghsItemInfo[$key]);
                     unset($ghsItemInfo[$key]);
                 }
                 }
             }
             }
-        }
+        //}
 
 
         //判断花材格式,是否属于当前门店
         //判断花材格式,是否属于当前门店
         ProductClass::valid($ghsItemInfo, $this->mainId);
         ProductClass::valid($ghsItemInfo, $this->mainId);