|
...
|
...
|
@@ -54,7 +54,7 @@ class CopyImageFileJob implements ShouldQueue |
|
|
|
$amazonS3Service = new AmazonS3Service();
|
|
|
|
foreach ($fileList as $k => $v){
|
|
|
|
$amazonS3Service->syncImageFiles(getImageUrl($v['path']));
|
|
|
|
$fileList->edit(['is_cos'=>0],['id'=>$v['id']]);
|
|
|
|
$fileModel->edit(['is_cos'=>0],['id'=>$v['id']]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
...
|
...
|
|