正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -97,12 +97,10 @@ class GeoQuestionResLogic extends BaseLogic | @@ -97,12 +97,10 @@ class GeoQuestionResLogic extends BaseLogic | ||
| 97 | $coreKeywordUrlCount = $questionLogModel->counts(['project_id'=>$this->user['project_id'],'label'=>['like','%核心问题%'],'hit'=>['!=',0]]); | 97 | $coreKeywordUrlCount = $questionLogModel->counts(['project_id'=>$this->user['project_id'],'label'=>['like','%核心问题%'],'hit'=>['!=',0]]); |
| 98 | foreach ($list as $item){ | 98 | foreach ($list as $item){ |
| 99 | $questionTotalCount += count($item['question'] ?? []); | 99 | $questionTotalCount += count($item['question'] ?? []); |
| 100 | - if($this->user['project_id'] == 4533){ | ||
| 101 | //核心问题数 | 100 | //核心问题数 |
| 102 | if(strpos($item['label'],'核心问题') !== false){ | 101 | if(strpos($item['label'],'核心问题') !== false){ |
| 103 | $core_question_count += count($item['question'] ?? []); | 102 | $core_question_count += count($item['question'] ?? []); |
| 104 | } | 103 | } |
| 105 | - } | ||
| 106 | $keywordsTotalCount += count($item['keywords'] ?? []); | 104 | $keywordsTotalCount += count($item['keywords'] ?? []); |
| 107 | $urlTotalCount += count($item['url'] ?? []); | 105 | $urlTotalCount += count($item['url'] ?? []); |
| 108 | foreach ($item['keywords'] as $keyWordItem){ | 106 | foreach ($item['keywords'] as $keyWordItem){ |
-
请 注册 或 登录 后发表评论