|
|
@ -301,9 +301,9 @@ class Server |
|
|
|
//return Cache::get($appid . '_authorizer_access_token'); |
|
|
|
//return Cache::get($appid . '_authorizer_access_token'); |
|
|
|
} |
|
|
|
} |
|
|
|
$refresh_token = $this->getRefreshToken($appid); |
|
|
|
$refresh_token = $this->getRefreshToken($appid); |
|
|
|
|
|
|
|
dump($refresh_token); |
|
|
|
|
|
|
|
exit(); |
|
|
|
if ($refresh_token) { |
|
|
|
if ($refresh_token) { |
|
|
|
dump($refresh_token); |
|
|
|
|
|
|
|
exit(); |
|
|
|
|
|
|
|
$token = $this->getComponentAccessToken(); |
|
|
|
$token = $this->getComponentAccessToken(); |
|
|
|
if ($token) { |
|
|
|
if ($token) { |
|
|
|
$url = 'https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=' . $token; |
|
|
|
$url = 'https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=' . $token; |
|
|
|