From 94591bce18aa98139b8e9788805d88bc927536d8 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 12 Mar 2026 16:22:59 +0800 Subject: [PATCH] 1 --- app/common/service/WordpressSiteService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 .= "