wang hou sheng 8 months ago
parent 08f8128897
commit c09e7bc336
  1. 2
      app/common/library/wxserver/Server.php

@ -295,8 +295,6 @@ class Server
$data['authorizer_refresh_token'] = $refresh_token; $data['authorizer_refresh_token'] = $refresh_token;
$result = $this->curlPost($url, json_encode($data)); $result = $this->curlPost($url, json_encode($data));
$result = json_decode($result, true); $result = json_decode($result, true);
dump($result);
exit();
if ($result && !empty($result['authorizer_access_token'])) { if ($result && !empty($result['authorizer_access_token'])) {
Cache::set($appid . '_authorizer_access_token', $result['authorizer_access_token'], 6200); Cache::set($appid . '_authorizer_access_token', $result['authorizer_access_token'], 6200);
return $result['authorizer_access_token']; return $result['authorizer_access_token'];

Loading…
Cancel
Save