|
...
|
...
|
@@ -312,7 +312,7 @@ class ProjectUpdate extends Command |
|
|
|
}
|
|
|
|
|
|
|
|
//关联分类
|
|
|
|
if($category_arr){
|
|
|
|
if ($category_arr) {
|
|
|
|
CategoryRelated::saveRelated($id, array_column($category_arr, 'id'));
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -689,7 +689,7 @@ class ProjectUpdate extends Command |
|
|
|
$host = $arr['host'] ?? '';
|
|
|
|
$path = $arr['path'] ?? '';
|
|
|
|
|
|
|
|
$url_complete = ($scheme ?: 'https') . '://' . ($host ?: $domain) . $path;
|
|
|
|
$url_complete = ($scheme ?: 'https') . '://' . $domain . $path;
|
|
|
|
|
|
|
|
if (
|
|
|
|
(empty($scheme) || $scheme == 'https' || $scheme == 'http')
|
...
|
...
|
|