正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -312,7 +312,7 @@ class ProjectUpdate extends Command | @@ -312,7 +312,7 @@ class ProjectUpdate extends Command | ||
| 312 | } | 312 | } |
| 313 | 313 | ||
| 314 | //关联分类 | 314 | //关联分类 |
| 315 | - if($category_arr){ | 315 | + if ($category_arr) { |
| 316 | CategoryRelated::saveRelated($id, array_column($category_arr, 'id')); | 316 | CategoryRelated::saveRelated($id, array_column($category_arr, 'id')); |
| 317 | } | 317 | } |
| 318 | 318 | ||
| @@ -689,7 +689,7 @@ class ProjectUpdate extends Command | @@ -689,7 +689,7 @@ class ProjectUpdate extends Command | ||
| 689 | $host = $arr['host'] ?? ''; | 689 | $host = $arr['host'] ?? ''; |
| 690 | $path = $arr['path'] ?? ''; | 690 | $path = $arr['path'] ?? ''; |
| 691 | 691 | ||
| 692 | - $url_complete = ($scheme ?: 'https') . '://' . ($host ?: $domain) . $path; | 692 | + $url_complete = ($scheme ?: 'https') . '://' . $domain . $path; |
| 693 | 693 | ||
| 694 | if ( | 694 | if ( |
| 695 | (empty($scheme) || $scheme == 'https' || $scheme == 'http') | 695 | (empty($scheme) || $scheme == 'https' || $scheme == 'http') |
-
请 注册 或 登录 后发表评论