|
|
@@ -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";
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|