作者 lyh

变更数据

@@ -146,7 +146,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -146,7 +146,7 @@ class GeoQuestionResLogic extends BaseLogic
146 } 146 }
147 //问题达标数据 147 //问题达标数据
148 $data['question_qualify_count'] = $questionLogModel->where('project_id', $this->user['project_id']) 148 $data['question_qualify_count'] = $questionLogModel->where('project_id', $this->user['project_id'])
149 - ->where('hit','!=',0) 149 + ->where('hit','!=',0)->whereIn('platform',['openai', 'gemini','google_ai_overview'])
150 ->select(DB::raw('COUNT(DISTINCT question) as total')) 150 ->select(DB::raw('COUNT(DISTINCT question) as total'))
151 ->value('total'); 151 ->value('total');
152 return $this->success($data); 152 return $this->success($data);