作者 李宇航

合并分支 'lyh-server' 到 'master'

Lyh server



查看合并请求 !3145
... ... @@ -36,7 +36,7 @@ class SyncTimeFiles extends Command
// $start = '2025-10-14 00:00:00';
$start = '2025-10-25 00:00:00';
$end = '2025-10-31 23:59:59';
$lists = $imagesModel->list(['created_at'=>['between',[$start,$end]]],'id',['path'],'asc');
$lists = $imagesModel->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;
... ...
... ... @@ -76,7 +76,7 @@ class BaseController extends Controller
Cache::add('project_'.$this->param['project_id'], $id, 3600 * 12);
}
}
$this->param['id'] = $id;
$this->param['project_id'] = $id;
}
}
}
... ...