正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -28,7 +28,7 @@ class CopyImageFileListener implements ShouldQueue | @@ -28,7 +28,7 @@ class CopyImageFileListener implements ShouldQueue | ||
| 28 | $this->param = $event->data; | 28 | $this->param = $event->data; |
| 29 | $imageModel = new ImageModel(); | 29 | $imageModel = new ImageModel(); |
| 30 | //获取当前项目的所有图片 | 30 | //获取当前项目的所有图片 |
| 31 | - $imageList = $imageModel->list(['project_id'=>$this->param['project_id'],'is_cos'=>1],'id',['id','path','is_cos']); | 31 | + $imageList = $imageModel->list(['project_id'=>$this->param['project_id'],'is_cos'=>1],'id',['id','path','is_cos','size']); |
| 32 | if(!empty($imageList)){ | 32 | if(!empty($imageList)){ |
| 33 | $amazonS3Service = new AmazonS3Service(); | 33 | $amazonS3Service = new AmazonS3Service(); |
| 34 | foreach ($imageList as $k => $v){ | 34 | foreach ($imageList as $k => $v){ |
-
请 注册 或 登录 后发表评论