diff --git a/linuxdo.php b/linuxdo.php index 71decd8..55e65db 100644 --- a/linuxdo.php +++ b/linuxdo.php @@ -79,16 +79,6 @@ if (isset($getTokenArr['access_token'])) { $getUserRes = get_curl('https://connect.linux.do/api/user', 0, 0, 0, $header); $getUserArr = json_decode($getUserRes, true); - - $checkLink = get_curl("/api?act=link&connect_id=" . $getUserArr['username']); - - $getCheckLink = json_decode($checkLink, true); - - if ($getCheckLink['code'] == '0') { - $data = $getCheckLink['data']; - exit(''); - } - } else { $err = json_encode($getTokenArr); } @@ -158,6 +148,18 @@ if (isset($getTokenArr['access_token'])) { + + + 授权发生异常: