|
|
@@ -23,6 +23,8 @@ class ShopController extends Controller
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
if ($shop->mainId != $item->mainId) {
|
|
|
echo "客户id:{$item->id} {$shop->mainId} {$item->mainId}\n";
|
|
|
+ $item->mainId = $shop->mainId;
|
|
|
+ $item->save();
|
|
|
}
|
|
|
}
|
|
|
}
|