diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index d93275b..b360701 100755 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -102,7 +102,7 @@ protected function setUpMockAuthUser() 'nickname' => array_get($user, 'nickname'), 'avatar' => array_get($user, 'headimgurl'), 'email' => null, - 'original' => array_merge($user, [privilege => []]), + 'original' => array_merge($user, ['privilege' => []]), ]); session(['wechat.oauth_user' => $user]);