作者 lyh

gx

@@ -35,6 +35,7 @@ class CopyImageFileJob implements ShouldQueue @@ -35,6 +35,7 @@ class CopyImageFileJob implements ShouldQueue
35 */ 35 */
36 public function handle() 36 public function handle()
37 { 37 {
  38 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('进入111111111', true) . PHP_EOL, FILE_APPEND);
38 $imageModel = new ImageModel(); 39 $imageModel = new ImageModel();
39 //获取当前项目的所有图片 40 //获取当前项目的所有图片
40 $imageList = $imageModel->list(['project_id'=>$this->param['project_id'],'is_cos'=>1],'id',['id','path','is_cos','size']); 41 $imageList = $imageModel->list(['project_id'=>$this->param['project_id'],'is_cos'=>1],'id',['id','path','is_cos','size']);