This commit is contained in:
2025-06-27 17:28:12 +08:00
parent 1520a26284
commit e5a4df1bc0
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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' => [
],
];
}
];