合并分支 'lyh-server' 到 'master'
gx导入项目脚本 查看合并请求 !2119
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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']]); |
-
请 注册 或 登录 后发表评论