shish 3 лет назад
Родитель
Сommit
5b4575e9a3
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      app-ghs/controllers/CheckOrderController.php

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

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