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; } /**