作者 lyh

gx

@@ -33,7 +33,7 @@ class SyncFile extends Command @@ -33,7 +33,7 @@ class SyncFile extends Command
33 $errorFileModel = new ErrorFile(); 33 $errorFileModel = new ErrorFile();
34 $lists = $errorFileModel->list(['status'=>0]);//未同步成功的图片及文件 34 $lists = $errorFileModel->list(['status'=>0]);//未同步成功的图片及文件
35 foreach ($lists as $k => $v){ 35 foreach ($lists as $k => $v){
36 - if(strpos($v['path'], '181') !== false ){ 36 + if(strpos($v['path'], '/181/') !== false ){
37 $code = $this->synchronizationFiles($v['path']); 37 $code = $this->synchronizationFiles($v['path']);
38 }else{ 38 }else{
39 $code = $this->synchronizationFile($v['path']); 39 $code = $this->synchronizationFile($v['path']);