作者 刘锟

update

@@ -252,7 +252,7 @@ class ProjectUpdate extends Command @@ -252,7 +252,7 @@ class ProjectUpdate extends Command
252 $gallery = []; 252 $gallery = [];
253 if ($item['images'] ?? []) { 253 if ($item['images'] ?? []) {
254 foreach ($item['images'] as $k_img => $img) { 254 foreach ($item['images'] as $k_img => $img) {
255 - $gallery[] = ['alt' => 'This is a product picture', 'url' => $this->source_download($img, $project_id, $domain_arr['host'], $web_url_domain, $home_url)]; 255 + $gallery[] = ['alt' => '', 'url' => $this->source_download($img, $project_id, $domain_arr['host'], $web_url_domain, $home_url)];
256 } 256 }
257 } 257 }
258 //分类 258 //分类
@@ -296,7 +296,7 @@ class ProjectUpdate extends Command @@ -296,7 +296,7 @@ class ProjectUpdate extends Command
296 $gallery = []; 296 $gallery = [];
297 if ($item['images'] ?? []) { 297 if ($item['images'] ?? []) {
298 foreach ($item['images'] as $k_img => $img) { 298 foreach ($item['images'] as $k_img => $img) {
299 - $gallery[] = ['alt' => 'This is a product picture', 'url' => $this->source_download($img, $project_id, $domain_arr['host'], $web_url_domain, $home_url)]; 299 + $gallery[] = ['alt' => '', 'url' => $this->source_download($img, $project_id, $domain_arr['host'], $web_url_domain, $home_url)];
300 } 300 }
301 } 301 }
302 302