[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

@@ -19,6 +19,7 @@ class MessageResource extends JsonResource
'subject' => $this->subject,
'msg' => strip_all_tags($this->msg),
'added_human' => $this->added->diffForHumans(),
'added' => format_datetime($this->added),
'send_user' => new UserResource($this->whenLoaded('send_user')),
];
}