作者 lyh

变更数据

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