作者 lyh

gx

... ... @@ -30,11 +30,11 @@ class SyncTimeFiles extends Command
public function handle()
{
$fileModel = new File();
// $imagesModel = new Image();
// $fileModel = new File();
$imagesModel = new Image();
$start = '2025-08-28 00:00:00';
$end = '2025-08-29 59:00:00';
$lists = $fileModel->list(['created_at'=>['between',[$start,$end]]]);
$end = '2025-08-29 23:59:59';
$lists = $imagesModel->list(['created_at'=>['between',[$start,$end]]]);
foreach ($lists as $v){
$path = $v['path'];
echo date('Y-m-d H:i:s') . ' | 图片链接:' . $path . PHP_EOL;
... ...