From 05fc4d7497c14fc7a5908636cb2a3f7f8629c179 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 1 Apr 2013 11:24:43 +0800 Subject: [PATCH] =?UTF-8?q?Think\Oauth=E7=9A=84getAccessToken=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=8F=82=E6=95=B0=20=E5=8A=A0=E4=B8=8A=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Think/Oauth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Think/Oauth.php b/Think/Oauth.php index 5ee587b4..a39563ca 100644 --- a/Think/Oauth.php +++ b/Think/Oauth.php @@ -48,8 +48,8 @@ class Oauth { } // 获取access_token - static public function getAccessToken(){ - self::$handler->getAccessToken(); + static public function getAccessToken($code){ + self::$handler->getAccessToken($code); } // 设置保存过的token信息