Think\Oauth的getAccessToken方法参数 加上参数

This commit is contained in:
thinkphp
2013-04-01 11:24:43 +08:00
parent 2377aabaf4
commit 05fc4d7497

View File

@@ -48,8 +48,8 @@ class Oauth {
} }
// 获取access_token // 获取access_token
static public function getAccessToken(){ static public function getAccessToken($code){
self::$handler->getAccessToken(); self::$handler->getAccessToken($code);
} }
// 设置保存过的token信息 // 设置保存过的token信息