修改配置
This commit is contained in:
parent
4f9cf56e69
commit
9b2ac5fd49
@ -25,6 +25,11 @@ class PermissionSeed extends Seeder
|
||||
'description' => 'super user',
|
||||
'creator_id' => 1,
|
||||
]);
|
||||
|
||||
\think\facade\Db::name( 'user_has_roles')->insert([
|
||||
'role_id' => 1,
|
||||
'uid' => 1,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user