作者 lyh

变更数据

@@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
9 9
10 namespace App\Http\Logic\Bside\Geo; 10 namespace App\Http\Logic\Bside\Geo;
11 11
12 -use App\Console\Commands\Geo\GeoQuestionRes;  
13 use App\Http\Logic\Bside\BaseLogic; 12 use App\Http\Logic\Bside\BaseLogic;
14 use App\Models\Geo\GeoPlatform; 13 use App\Models\Geo\GeoPlatform;
15 use App\Models\Geo\GeoQuestion; 14 use App\Models\Geo\GeoQuestion;
@@ -99,7 +98,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -99,7 +98,7 @@ class GeoQuestionResLogic extends BaseLogic
99 $list = $questionModel->list(['project_id'=>$this->user['project_id']],['question','keywords','url']); 98 $list = $questionModel->list(['project_id'=>$this->user['project_id']],['question','keywords','url']);
100 $core_question_count = $questionTotalCount = $urlTotalCount = $keywordsTotalCount = 0; 99 $core_question_count = $questionTotalCount = $urlTotalCount = $keywordsTotalCount = 0;
101 $keywordArr = []; 100 $keywordArr = [];
102 - $questionLogModel = new GeoQuestionRes(); 101 + $questionLogModel = new GeoQuestionResult();
103 if($this->user['project_id'] == 4533){ 102 if($this->user['project_id'] == 4533){
104 $keywordUrlCount = $questionLogModel->counts(['project_id'=>$this->user['project_id'],'is_match'=>1,'hit'=>['!=',0]]); 103 $keywordUrlCount = $questionLogModel->counts(['project_id'=>$this->user['project_id'],'is_match'=>1,'hit'=>['!=',0]]);
105 foreach ($list as $item){ 104 foreach ($list as $item){