From 76c99c66c72350a5639d17c850875df1d155e5d8 Mon Sep 17 00:00:00 2001 From: Jing Li Date: Thu, 2 Jun 2022 10:59:43 +0800 Subject: [PATCH] WIP --- .../Http/Resources/UserInfoSimpleResource.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php diff --git a/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php b/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php new file mode 100644 index 00000000..082b6c72 --- /dev/null +++ b/app/Endpoint/Api/Http/Resources/UserInfoSimpleResource.php @@ -0,0 +1,23 @@ + (string) $this->nickname, + 'avatar' => (string) $this->avatar, + 'code' => (string) $this->code, + ]; + } +}