|
...
|
...
|
@@ -5,6 +5,7 @@ namespace App\Console\Commands\Update; |
|
|
|
use App\Helper\Arr;
|
|
|
|
use App\Http\Logic\Bside\News\NewsLogic;
|
|
|
|
use App\Http\Logic\Bside\Product\CategoryLogic;
|
|
|
|
use App\Jobs\SyncImageFileJob;
|
|
|
|
use App\Models\Blog\Blog;
|
|
|
|
use App\Models\Collect\CollectSource;
|
|
|
|
use App\Models\Collect\CollectTask;
|
|
...
|
...
|
@@ -1062,6 +1063,9 @@ class ProjectUpdate extends Command |
|
|
|
'updated_at' => date('Y-m-d H:i:s'),
|
|
|
|
]);
|
|
|
|
|
|
|
|
//同步到177
|
|
|
|
$new_url_name = basename($new_url);
|
|
|
|
SyncImageFileJob::dispatch(['path' => str_replace('/' . $new_url_name, '', $new_url), 'name' => $new_url_name, 'location' => 0]);
|
|
|
|
return getImageUrl($new_url);
|
|
|
|
} else {
|
|
|
|
return $url_complete;
|
...
|
...
|
|