|
@@ -32,6 +32,15 @@ class CommentRecordRepository
|
|
|
if(isset($request['virus_behavior_id'])){
|
|
|
$where[] = ['virus_behavior_id', $request['virus_behavior_id']];
|
|
|
}
|
|
|
+ if(isset($request['content_author_id'])){
|
|
|
+ $where[] = ['content_author_id', $request['content_author_id']];
|
|
|
+ }
|
|
|
+ if(isset($request['related_content_id'])){
|
|
|
+ $where[] = ['related_content_id', $request['related_content_id']];
|
|
|
+ }
|
|
|
+ if(isset($request['superior_commentator_id'])){
|
|
|
+ $where[] = ['superior_commentator_id', $request['superior_commentator_id']];
|
|
|
+ }
|
|
|
|
|
|
return $this->commentRecord
|
|
|
->where($where)
|