1
This commit is contained in:
@@ -47,12 +47,9 @@ class CommentService extends BaseService
|
||||
'show' => function ($params) {
|
||||
return [
|
||||
'filters' => [
|
||||
['field' => 'status', 'operator' => '=', 'value' => '1'],
|
||||
['field' => 'id', 'operator' => '=', 'value' => $params['id']]
|
||||
],
|
||||
'fields' => ['id', 'article_id', 'content', 'avatar', 'name', 'created_at', 'updated_at'],
|
||||
'relations' => [
|
||||
],
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user