作者 刘锟

update

... ... @@ -585,6 +585,9 @@ class ProjectUpdate extends Command
$category_id = $category_custom['id'];
}
}
if($category_id){
$category_id = ',' . $category_id . ',';
}
//图片
if (is_array($item['images'] ?? '')) {
$image = $item['images'][0] ?? '';
... ... @@ -637,7 +640,7 @@ class ProjectUpdate extends Command
foreach ($ve as $ve_img) {
$gallery[] = ['title' => '', 'description' => '', 'url' => $this->source_download($ve_img, $project_id, $domain_arr['host'], $web_url_domain, $home_url)];
}
}else{
} else {
$gallery[] = ['title' => '', 'description' => '', 'url' => $this->source_download($ve, $project_id, $domain_arr['host'], $web_url_domain, $home_url)];
}
$value = Arr::a2s($gallery);
... ...