src/thinkextend/oauth/driver/Kaixin.php
protected function parseToken($result)
    {
        $data = json_decode($result, true);
        if ($data['access_token'] && $data['expires_in'] && $data['refresh_token']) {
            $data['openid'] = $this->getOpenId();
            return $data;
        } else {
            throw new \Exception("获取开心网ACCESS_TOKEN出错：{$data['error']}");
        }

    }
protected function parseToken($result)
    {
        $data = json_decode($result, true);
        if ($data['access_token'] && $data['expires_in'] && $data['refresh_token']) {
            $data['openid'] = $this->getOpenId();
            return $data;
        } else {
            throw new \Exception("获取开心网ACCESS_TOKEN出错：{$data['error']}");
        }

    }
解析access_token方法请求后的返回值
@param string $result 获取access_token的方法的返回值