作者 李宇航

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

变更数据



查看合并请求 !2966
@@ -145,7 +145,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -145,7 +145,7 @@ 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 - ->value('total'); 148 + ->count();
149 $latestCreatedAt = $questionLogModel 149 $latestCreatedAt = $questionLogModel
150 ->where('project_id', $this->user['project_id']) 150 ->where('project_id', $this->user['project_id'])
151 ->orderBy('id', 'desc') 151 ->orderBy('id', 'desc')