作者 lyh

hx

@@ -38,6 +38,7 @@ class SyncFile extends Command @@ -38,6 +38,7 @@ class SyncFile extends Command
38 }else{ 38 }else{
39 $code = $this->synchronizationFile($v['path']); 39 $code = $this->synchronizationFile($v['path']);
40 } 40 }
  41 + echo date('Y-m-d H:i:s') . 'code:'. $code . PHP_EOL;
41 if((int)$code == 200){ 42 if((int)$code == 200){
42 echo date('Y-m-d H:i:s') . '编辑的path为:'. $v['path'] .',主键id:'. $v['id'] . PHP_EOL; 43 echo date('Y-m-d H:i:s') . '编辑的path为:'. $v['path'] .',主键id:'. $v['id'] . PHP_EOL;
43 $errorFileModel->edit(['status'=>1],['id'=>$v['id']]); 44 $errorFileModel->edit(['status'=>1],['id'=>$v['id']]);