作者 lyh

变更数据

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