作者 lyh

gx创建作者

... ... @@ -143,7 +143,9 @@ class DownloadProject extends Command
public function downloadItem($filed = ['id','depth','created_at','referrer_url','url','device_port','country','ip']){
$visitModel = new Visit();
$lists = $visitModel->list(['updated_date'=>['between',['025-02-01','2025-02-31']]]);
$page = 1;
$pageSize = 3000;
$lists = $visitModel->lists(['updated_date'=>['between',['2025-02-01','2025-02-31']]],$page,$pageSize,'id',$filed);
foreach ($lists as $v){
$customer_visit_id[] = $v['id'];
}
... ... @@ -159,6 +161,6 @@ class DownloadProject extends Command
$value['sub'] = $sub;
$lists[$key] = $value;
}
return $this->success($lists);
return $lists;
}
}
... ...