[admin] change uploaded & downloaded unit: GB

This commit is contained in:
xiaomlove
2022-05-10 22:08:41 +08:00
parent 3b9125d236
commit e7e708fd91
10 changed files with 91 additions and 26 deletions

View File

@@ -152,7 +152,8 @@ class User extends Authenticatable
public static $commonFields = [
'id', 'username', 'email', 'class', 'status', 'added', 'avatar',
'uploaded', 'downloaded', 'seedbonus', 'seedtime', 'leechtime',
'invited_by', 'enabled', 'seed_points', 'last_access', 'invites'
'invited_by', 'enabled', 'seed_points', 'last_access', 'invites',
'lang',
];
public static function getDefaultUserAttributes(): array