get_username() support in laravel

This commit is contained in:
xiaomlove
2022-06-12 15:15:09 +08:00
parent 4fc91f52cc
commit 43156f7fc5
8 changed files with 108 additions and 24 deletions
+9
View File
@@ -16,4 +16,13 @@ return [
'invites' => 'Invites',
'attendance_card' => 'Attend card',
],
'class_name' => [
\App\Models\User::CLASS_VIP => 'Vip',
\App\Models\User::CLASS_RETIREE => 'Retiree',
\App\Models\User::CLASS_UPLOADER => 'Uploader',
\App\Models\User::CLASS_MODERATOR => 'Moderator',
\App\Models\User::CLASS_ADMINISTRATOR => 'Administrator',
\App\Models\User::CLASS_SYSOP => 'Sysop',
\App\Models\User::CLASS_STAFF_LEADER => 'Staff Leader',
],
];