diff --git a/app/common/service/WordpressSiteService.php b/app/common/service/WordpressSiteService.php index 1d504fb..f23e2f1 100644 --- a/app/common/service/WordpressSiteService.php +++ b/app/common/service/WordpressSiteService.php @@ -1342,8 +1342,8 @@ class WordpressSiteService $data['featured_media'] = $uploadedImages[0]['id']; - // 车辆相册:前5张图片 - $productGalleryImages = array_slice($uploadedImages, 0, 5); + // 车辆相册:前8张图片 + $productGalleryImages = array_slice($uploadedImages, 0, 8); $productGalleryIds = array_map(function($img) { return $img['id']; }, $productGalleryImages); @@ -1471,8 +1471,8 @@ class WordpressSiteService $content .= "\n"; $content .= "