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

access token 重复添加的问题 #201

Closed
alpha1130 opened this issue Jan 4, 2016 · 2 comments
Closed

access token 重复添加的问题 #201

alpha1130 opened this issue Jan 4, 2016 · 2 comments

Comments

@alpha1130
Copy link

version: 2.1
Wechat/Http.php

line 81:
if ($this->token) {
// clear repeat token
$url = preg_replace('/[?&]access_token=[^&]*/i', '', $url);
$url .= (stripos($url, '?') ? '&' : '?').'access_token='. $this->token->getToken();

@overtrue
Copy link
Collaborator

overtrue commented Jan 4, 2016

为啥会有重复添加的问题,在其它地方都没有设置过access token 呢

@overtrue overtrue closed this as completed Jan 5, 2016
overtrue added a commit that referenced this issue Jan 6, 2016
@overtrue
Copy link
Collaborator

overtrue commented Jan 6, 2016

@alpha1130 找到问题所在了,是重试机制导致的,多谢!

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

No branches or pull requests

2 participants