protected function parseToken($result)
{
$data = json_decode($result, true);
if ($data['access_token'] && $data['token_type'] && $data['expires_in']) {
$data['openid'] = $this->getOpenId();
return $data;
} else {
throw new \Exception("获取 MSN ACCESS_TOKEN出错:未知错误");
}
}