正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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']); |
-
请 注册 或 登录 后发表评论