作者 lyh

gx导入项目脚本

@@ -441,7 +441,7 @@ class KeywordLogic extends BaseLogic @@ -441,7 +441,7 @@ class KeywordLogic extends BaseLogic
441 */ 441 */
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->param['project_id']]);
446 }else{ 446 }else{
447 $rs = $keywordCommonModel->del(['id'=>$this->param['id']]); 447 $rs = $keywordCommonModel->del(['id'=>$this->param['id']]);