diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index 8df9fa4a..61921986 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -65,6 +65,7 @@ class Server $data['component_verify_ticket'] = $ticket; $result = $this->curlPost($url, json_encode($data), 10); $result = json_decode($result, true); + return $result; if (!empty($result['component_access_token'])) { Cache::set('ComponentAccessToken', $result['component_access_token'], 6200); return $result['component_access_token'];