wang hou sheng 8 months ago
parent c0a069979d
commit ac1878a328
  1. 4
      app/common/library/wxserver/Server.php

@ -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;

Loading…
Cancel
Save