From ac491ccd1017bde9761f09253f7358eb1133f4a6 Mon Sep 17 00:00:00 2001 From: chujiu Date: Thu, 3 Jan 2019 13:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PdAuth/OAuth.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/PdAuth/OAuth.php b/src/PdAuth/OAuth.php index a01303c..8b1ee2d 100644 --- a/src/PdAuth/OAuth.php +++ b/src/PdAuth/OAuth.php @@ -102,10 +102,7 @@ class OAuth 'id' => $user_id, 'hwmc_id' => $hwuser_id, ]); - if ($resp['code'] == 0) { - return $resp['data']; - } - return null; + return $resp; } /**