[api] reward + thanks

This commit is contained in:
xiaomlove
2022-03-30 15:37:11 +08:00
parent b613a46b8d
commit 3e4a5766c4
38 changed files with 983 additions and 64 deletions

View File

@@ -16,6 +16,8 @@ class ThankResource extends JsonResource
{
return [
'id' => $this->id,
'torrent_id' => $this->torrentid,
'user_id' => $this->userid,
'user' => new UserResource($this->whenLoaded('user')),
];
}