🔧 改进配置方式

This commit is contained in:
Wisp X
2022-01-21 23:31:38 +08:00
parent 9dadc84f21
commit c79123b178
13 changed files with 123 additions and 107 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class UserController extends Controller
$user = Auth::user();
// 组配置
$configs = Utils::config(ConfigKey::GuestGroupConfigs);
$configs = Utils::config(ConfigKey::GroupConfigs);
if ($user->group) {
$configs = $user->group->configs;
}