shish hace 3 años
padre
commit
1514e33a10
Se han modificado 1 ficheros con 9 adiciones y 9 borrados
  1. 9 9
      app-ghs/controllers/CheckOrderController.php

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

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