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
PHP 版本:5.6.15 overtrue/wechat 版本:3.0
https://easywechat.org/zh-cn/docs/payment.html#u751F_u6210_u5171_u4EAB_u6536_u8D27_u5730_u5740_JS__u914D_u7F6E
use EasyWeChat\Support\Url as UrlHelper; if (empty($_GET['code'])) { $currentUrl = UrlHelper::current(); $response = $app->oauth->scopes(['snsapi_base'])->redirect($currentUrl); return $response; // or echo $response; } $oauthUser = $app->oauth->user(); //这里的变量名叫 $oauthUser $token = $user->getAccessToken(); // 这里却使用 $user $configForPickAddress = $payment->configForShareAddress($token);
The text was updated successfully, but these errors were encountered:
EasyWeChat/docs@d665aa2
No branches or pull requests
我用的环境
PHP 版本:5.6.15
overtrue/wechat 版本:3.0
问题及现象
生成共享收货地址
https://easywechat.org/zh-cn/docs/payment.html#u751F_u6210_u5171_u4EAB_u6536_u8D27_u5730_u5740_JS__u914D_u7F6E
The text was updated successfully, but these errors were encountered: