|
...
|
...
|
@@ -60,6 +60,7 @@ class Demo extends Command |
|
|
|
echo date('Y-m-d H:i:s') . '执行的数据id:' . $v['id'] . '名称:'.$v['name'] . PHP_EOL;
|
|
|
|
$amazonS3Service->syncImageFiles(getFileUrl($v['path']));
|
|
|
|
$fileModel->edit(['is_cos'=>0],['id'=>$v['id']]);
|
|
|
|
gc_collect_cycles();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
...
|
...
|
|