diff --git a/app/Http/Resources/ArchiveInfoResource.php b/app/Http/Resources/ArchiveInfoResource.php new file mode 100644 index 0000000..4bbb1f7 --- /dev/null +++ b/app/Http/Resources/ArchiveInfoResource.php @@ -0,0 +1,24 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'num' => $this->num, + 'post_in' => $this->post_in, + 'status' => $this->status + ]; + } +}