diff --git a/src/Wechat/Work/Base.php b/src/Wechat/Work/Base.php index e27b3c2..0805967 100644 --- a/src/Wechat/Work/Base.php +++ b/src/Wechat/Work/Base.php @@ -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); }