judge H&R count think about section

This commit is contained in:
xiaomlove
2022-10-01 01:58:18 +08:00
parent 6de5cb2f21
commit 28b85c7ecf
5 changed files with 14 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ class HitAndRunResource extends Resource
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->with(['user', 'torrent', 'snatch']);
return parent::getEloquentQuery()->with(['user', 'torrent', 'snatch', 'torrent.basic_category']);
}
public static function getRelations(): array