正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -429,11 +429,11 @@ class ProjectLogic extends BaseLogic | @@ -429,11 +429,11 @@ class ProjectLogic extends BaseLogic | ||
| 429 | } | 429 | } |
| 430 | } | 430 | } |
| 431 | //聚合页评论为空时,生成评论 | 431 | //聚合页评论为空时,生成评论 |
| 432 | - $keywordCommentModel = new AggregateKeywordComment(); | ||
| 433 | - $commentNum = $keywordCommentModel->counts(['project_id'=>$param['id']]); | ||
| 434 | - if(empty($commentNum)){ | ||
| 435 | - NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD_COMMON, ['project_id' => $this->param['project_id']]); | ||
| 436 | - } | 432 | +// $keywordCommentModel = new AggregateKeywordComment(); |
| 433 | +// $commentNum = $keywordCommentModel->counts(['project_id'=>$param['id']]); | ||
| 434 | +// if(empty($commentNum)){ | ||
| 435 | +// NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD_COMMON, ['project_id' => $this->param['project_id']]); | ||
| 436 | +// } | ||
| 437 | } | 437 | } |
| 438 | if($param['type'] == Project::TYPE_FIVE){ | 438 | if($param['type'] == Project::TYPE_FIVE){ |
| 439 | $param['extend_type'] = Project::TYPE_FIVE; | 439 | $param['extend_type'] = Project::TYPE_FIVE; |
-
请 注册 或 登录 后发表评论