正在显示
1 个修改的文件
包含
0 行增加
和
7 行删除
| @@ -367,13 +367,6 @@ class ProjectUpdate extends Command | @@ -367,13 +367,6 @@ class ProjectUpdate extends Command | ||
| 367 | echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL; | 367 | echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL; |
| 368 | continue; | 368 | continue; |
| 369 | } | 369 | } |
| 370 | - }else{ | ||
| 371 | - if (is_array($item['images'])) { | ||
| 372 | - $image = $item['images'][0] ?? ''; | ||
| 373 | - } else { | ||
| 374 | - $image = $item['images'] ?? ''; | ||
| 375 | - } | ||
| 376 | - $model->edit(['image' => $this->source_download($image, $project_id, $domain_arr['host'], $web_url_domain, $home_url)],['id'=>$news['id']]); | ||
| 377 | } | 370 | } |
| 378 | } | 371 | } |
| 379 | } | 372 | } |
-
请 注册 或 登录 后发表评论