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' => '邀请',
'attendance_card' => '补签卡',
],
'class_names' => [
\App\Models\User::CLASS_VIP => '贵宾',
\App\Models\User::CLASS_RETIREE => '养老族',
\App\Models\User::CLASS_UPLOADER => '发布员',
\App\Models\User::CLASS_MODERATOR => '总版主',
\App\Models\User::CLASS_ADMINISTRATOR => '管理员',
\App\Models\User::CLASS_SYSOP => '维护开发员',
\App\Models\User::CLASS_STAFF_LEADER => '主管',
],
];