作者 刘锟

update

... ... @@ -423,10 +423,13 @@ class ProjectUpdate extends Command
} else {
$file = [];
}
$value = Arr::a2s($file);
} else {
$value = Arr::a2s([$this->source_download($ve, $project_id, $domain_arr['host'], $web_url_domain, $home_url, 1)]);
$file = [
'name' => 'file' . $id,
'url' => $this->source_download($ve, $project_id, $domain_arr['host'], $web_url_domain, $home_url, 1)
];
}
$value = Arr::a2s($file);
} else {
//文本
$value = $ve;
... ... @@ -765,10 +768,13 @@ class ProjectUpdate extends Command
} else {
$file = [];
}
$value = Arr::a2s($file);
} else {
$value = Arr::a2s([$this->source_download($ve, $project_id, $domain_arr['host'], $web_url_domain, $home_url, 1)]);
$file = [
'name' => 'file' . $id,
'url' => $this->source_download($ve, $project_id, $domain_arr['host'], $web_url_domain, $home_url, 1)
];
}
$value = Arr::a2s($file);
} else {
//文本
$value = $ve;
... ...