作者 lyh

gx

@@ -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){