正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -54,7 +54,7 @@ class CopyImageFileJob implements ShouldQueue | @@ -54,7 +54,7 @@ class CopyImageFileJob implements ShouldQueue | ||
| 54 | $amazonS3Service = new AmazonS3Service(); | 54 | $amazonS3Service = new AmazonS3Service(); |
| 55 | foreach ($fileList as $k => $v){ | 55 | foreach ($fileList as $k => $v){ |
| 56 | $amazonS3Service->syncImageFiles(getImageUrl($v['path'])); | 56 | $amazonS3Service->syncImageFiles(getImageUrl($v['path'])); |
| 57 | - $fileList->edit(['is_cos'=>0],['id'=>$v['id']]); | 57 | + $fileModel->edit(['is_cos'=>0],['id'=>$v['id']]); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | return true; | 60 | return true; |
-
请 注册 或 登录 后发表评论