mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
[api] add notifications
This commit is contained in:
@@ -35,12 +35,14 @@ class TorrentResource extends JsonResource
|
||||
'numfiles' => $this->numfiles,
|
||||
'sp_state' => $this->sp_state,
|
||||
'sp_state_real' => $this->sp_state_real,
|
||||
'sp_state_real_text' => $this->spStateRealText,
|
||||
'promotion_info' => $this->promotionInfo,
|
||||
'hr' => $this->hr,
|
||||
'pick_type' => $this->picktype,
|
||||
'pick_time' => $this->picktime,
|
||||
'pick_info' => $this->pickInfo,
|
||||
'download_url' => $this->download_url,
|
||||
'user' => new UserResource($this->whenLoaded('user')),
|
||||
'anonymous' => $this->anonymous,
|
||||
'basic_category' => new CategoryResource($this->whenLoaded('basic_category')),
|
||||
'tags' => TagResource::collection($this->whenLoaded('tags')),
|
||||
'thanks' => ThankResource::collection($this->whenLoaded('thanks')),
|
||||
|
||||
Reference in New Issue
Block a user