We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
按照文档里的
$userGroupId = $userService->group($openId);
去获取某个指定OpenID用户的分组信息失败。
按照微信的官方文档获取用户分组信息应该是用POST方法,我看了一下EasyWeChat\User\User里的getGroup方法用的是GET。
修改为json后通过POST可正确获得结果。 return $this->parseJSON('json', [self::API_GROUP, $params]);
return $this->parseJSON('json', [self::API_GROUP, $params]);
The text was updated successfully, but these errors were encountered:
@chao 为啥不直接PR嘛
Sorry, something went wrong.
Bugfix #285
570db02
懒了,下次直接PR。
@chao 😆
No branches or pull requests
按照文档里的
$userGroupId = $userService->group($openId);
去获取某个指定OpenID用户的分组信息失败。
按照微信的官方文档获取用户分组信息应该是用POST方法,我看了一下EasyWeChat\User\User里的getGroup方法用的是GET。
修改为json后通过POST可正确获得结果。
return $this->parseJSON('json', [self::API_GROUP, $params]);
The text was updated successfully, but these errors were encountered: