|
...
|
...
|
@@ -97,12 +97,10 @@ class GeoQuestionResLogic extends BaseLogic |
|
|
|
$coreKeywordUrlCount = $questionLogModel->counts(['project_id'=>$this->user['project_id'],'label'=>['like','%核心问题%'],'hit'=>['!=',0]]);
|
|
|
|
foreach ($list as $item){
|
|
|
|
$questionTotalCount += count($item['question'] ?? []);
|
|
|
|
if($this->user['project_id'] == 4533){
|
|
|
|
//核心问题数
|
|
|
|
if(strpos($item['label'],'核心问题') !== false){
|
|
|
|
$core_question_count += count($item['question'] ?? []);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$keywordsTotalCount += count($item['keywords'] ?? []);
|
|
|
|
$urlTotalCount += count($item['url'] ?? []);
|
|
|
|
foreach ($item['keywords'] as $keyWordItem){
|
...
|
...
|
|