This commit is contained in:
候学杰 2019-02-21 12:10:36 +08:00
parent 48a7d08bac
commit faa9c142ca

View File

@ -62,7 +62,7 @@ class Base
public function transformForGetRequest($uri, $params)
{
$uri = new Uri($uri);
$uri = Uri::withQueryValue($uri, 'access_token', $this->getAccessToken());
$params['access_token'] = $this->getAccessToken();
foreach ($params as $param) {
$uri = Uri::withQueryValues($uri, $params);
}