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