Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wechat oauth scope为snsapi_base getRaw返回空数组 #281

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

153264
Copy link
Contributor

@153264 153264 commented Sep 27, 2024

w7corp/easywechat#2840

$oauth = $app->getOAuth()->scopes(['snsapi_base']);

$user = $oauth->userFromCode($code);
dump($user);
dump($user->getRaw());

修复后
image

@overtrue overtrue merged commit 1baae73 into overtrue:4.x Sep 27, 2024
7 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants