Skip to content

Commit 76af79c

Browse files
authored
Update README.md
1 parent 2b31d86 commit 76af79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected $routeMiddleware = [
150150
//...
151151
Route::group(['middleware' => ['web', 'wechat.oauth']], function () {
152152
Route::get('/user', function () {
153-
$user = session('wechat.oauth_user'); // 拿到授权用户资料
153+
$user = session('wechat.oauth_user.default'); // 拿到授权用户资料
154154

155155
dd($user);
156156
});

0 commit comments

Comments
 (0)