|
...
|
...
|
@@ -41,6 +41,9 @@ class SyncTimeMinuteFile extends Command |
|
|
|
$end = date('Y-m-d H:i:s');
|
|
|
|
$fileModel = new File();
|
|
|
|
$lists = $fileModel->list(['created_at'=>['between',[$start,$end]]]);
|
|
|
|
if(empty($lists)){
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
foreach ($lists as $v){
|
|
|
|
$path = $v['path'];
|
|
|
|
if (file_exists($dir.$path)) {
|
...
|
...
|
|