dashboard latest torrent limit 5

This commit is contained in:
xiaomlove
2021-05-17 21:15:18 +08:00
parent 7edc385cdc
commit 6e4c168cd5
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ class DashboardRepository extends BaseRepository
public function latestTorrent() public function latestTorrent()
{ {
return Torrent::query()->with(['user'])->orderBy('id', 'desc')->limit(10)->get(); return Torrent::query()->with(['user'])->orderBy('id', 'desc')->limit(5)->get();
} }
+2
View File
@@ -13,7 +13,9 @@ return [
'warned' => '警告', 'warned' => '警告',
'disabled' => '禁用', 'disabled' => '禁用',
'gender_male' => '男生', 'gender_male' => '男生',
'gender_Male' => '男生',
'gender_female' => '女生', 'gender_female' => '女生',
'gender_Female' => '女生',
'gender_N/A' => '性別未知', 'gender_N/A' => '性別未知',
], ],
'torrent' => [ 'torrent' => [