shish 3 жил өмнө
parent
commit
5b4575e9a3

+ 7 - 0
app-ghs/controllers/CheckOrderController.php

@@ -124,6 +124,13 @@ class CheckOrderController extends BaseController
         if (!is_array($ghsItemInfo)) {
         if (!is_array($ghsItemInfo)) {
             util::fail('花材格式不正确');
             util::fail('花材格式不正确');
         }
         }
+
+        foreach ($ghsItemInfo as $key => $va) {
+            if (isset($va['productId']) && $va['productId'] == 88456) {
+                unset($ghsItemInfo[$key]);
+            }
+        }
+
         //判断花材格式,是否属于当前门店
         //判断花材格式,是否属于当前门店
         ProductClass::valid($ghsItemInfo, $this->mainId);
         ProductClass::valid($ghsItemInfo, $this->mainId);