shish 4 éve
szülő
commit
51908243e0
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      console/controllers/ShopController.php

+ 7 - 0
console/controllers/ShopController.php

@@ -26,6 +26,13 @@ class ShopController extends Controller
                 $item->mainId = $shop->mainId;
                 $item->save();
             }
+
+            $ownShopId = $item->ownShopId ?? 0;
+            $ownShop = ShopClass::getById($ownShopId, true);
+            if ($ownShop->mainId != $item->ownMainId) {
+                echo "客户own {$item->id} {$item->ownMainId} {$ownShop->mainId}\n";
+            }
+
         }
     }