mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
[api] torrents add tags + promotion + pick
This commit is contained in:
@@ -82,7 +82,7 @@ class TorrentRepository extends BaseRepository
|
||||
|
||||
$query = $this->handleGetListSort($query, $params);
|
||||
|
||||
$with = ['user'];
|
||||
$with = ['user', 'tags'];
|
||||
$torrents = $query->with($with)->paginate();
|
||||
$userArr = $user->toArray();
|
||||
foreach($torrents as &$item) {
|
||||
|
||||
Reference in New Issue
Block a user