创建人

This commit is contained in:
2025-06-27 13:48:58 +08:00
parent 33340cd93d
commit 8112aa5dec
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ class ArticleService extends BaseService
'filters' => $params['filters'],
'fields' => ['id', 'locale', 'title', 'subtitle', 'cover', 'content', 'user_id', 'is_top', 'sort', 'status', 'publish_time', 'created_at', 'updated_at'],
'relations' => [
'creater' => ['id', 'nickname',],
// 'translation' => ['model_id', 'name'],
// 'brand.translation' => ['brand_id', 'name']
],