正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论