作者 李宇航

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

Lyh server



查看合并请求 !2794
... ... @@ -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;
... ...
... ... @@ -73,7 +73,7 @@ class GeoLinkLogic extends BaseLogic
foreach ($this->param['data'] as $item){
$data[] = [
'project_id'=>$this->param['project_id'],
'da'=>$item['da'] ?? '',
'da'=>$item['da'] ?? 0,
'url'=>$item['url'],
'send_time'=>$item['send_time']
];
... ...