diff --git a/beike/Services/DesignService.php b/beike/Services/DesignService.php index 3823e158..7816950c 100644 --- a/beike/Services/DesignService.php +++ b/beike/Services/DesignService.php @@ -125,7 +125,7 @@ class DesignService $tabs[$index]['title'] = $tab['title'][locale()]; $productsIds = $tab['products']; if ($productsIds) { - $tabs[$index]['products'] = ProductRepo::getProductsByIds($productsIds); + $tabs[$index]['products'] = ProductRepo::getProductsByIds($productsIds)->jsonSerialize(); } } $content['tabs'] = $tabs;