作者 lyh

gx

@@ -97,11 +97,9 @@ class GeoQuestionResLogic extends BaseLogic @@ -97,11 +97,9 @@ 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 - //核心问题数  
102 - if(strpos($item['label'],'核心问题') !== false){  
103 - $core_question_count += count($item['question'] ?? []);  
104 - } 100 + //核心问题数
  101 + if(strpos($item['label'],'核心问题') !== false){
  102 + $core_question_count += count($item['question'] ?? []);
105 } 103 }
106 $keywordsTotalCount += count($item['keywords'] ?? []); 104 $keywordsTotalCount += count($item['keywords'] ?? []);
107 $urlTotalCount += count($item['url'] ?? []); 105 $urlTotalCount += count($item['url'] ?? []);