作者 lyh

gx导入项目脚本

@@ -442,7 +442,7 @@ class KeywordLogic extends BaseLogic @@ -442,7 +442,7 @@ class KeywordLogic extends BaseLogic
442 public function delComment(){ 442 public function delComment(){
443 $keywordCommonModel = new AggregateKeywordComment(); 443 $keywordCommonModel = new AggregateKeywordComment();
444 if($this->param['id'] == 0){ 444 if($this->param['id'] == 0){
445 - $keywordCommonModel->del(['project_id'=>$this->param['project_id']]); 445 + $keywordCommonModel->del(['project_id'=>$this->user['project_id']]);
446 }else{ 446 }else{
447 $rs = $keywordCommonModel->del(['id'=>$this->param['id']]); 447 $rs = $keywordCommonModel->del(['id'=>$this->param['id']]);
448 } 448 }