|
...
|
...
|
@@ -62,11 +62,11 @@ class GeoCount extends Command |
|
|
|
if(empty($project_id)){
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
$projectModel = new Project();
|
|
|
|
$geo_qualify_day = $projectModel->getValue(['id'=>$project_id],'geo_qualify_day');
|
|
|
|
$geoQuestionResModel = new GeoQuestionResult();
|
|
|
|
$platforms = ['gemini','openai','deepseek','poe','perplexity','google_ai_overview','openai-not-network','claude'];
|
|
|
|
foreach ($project_id as $item){
|
|
|
|
$projectModel = new Project();
|
|
|
|
$geo_qualify_day = $projectModel->getValue(['id'=>$item],'geo_qualify_day');
|
|
|
|
$this->output('执行的项目ID----'.$item);
|
|
|
|
//收录总数
|
|
|
|
$total = $geoQuestionResModel->counts(['project_id' => $item,'hit'=>['!=',0],'created_at' => ['between',[$start,$end]]]);
|
...
|
...
|
|