shish 1 ano atrás
pai
commit
d752a8eb39
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      app-ghs/controllers/ProductController.php

+ 5 - 5
app-ghs/controllers/ProductController.php

@@ -1268,12 +1268,12 @@ class ProductController extends BaseController
         }
         $sameList = ProductClass::getAllByCondition(['itemId' => $ptItemId], null, 'id,itemId,mainId');
         $sameMainList = array_column($sameList, 'mainId');
-        //echo "<pre>";
-        //print_r($sameMainList);
-        //print_r($hasMainList);
+        echo "<pre>";
+        print_r($sameMainList);
+        print_r($hasMainList);
         $hasNot = array_diff($sameMainList, $hasMainList);
-        //print_r($hasNot);
-        //die;
+        print_r($hasNot);
+        die;
         $hasRightChange = empty($hasNot) ? 1 : 0;
         $respond['hasRightChange'] = $hasRightChange;