diff --git a/src/Helpers.php b/src/Helpers.php index 4ca3f80..a456d5d 100644 --- a/src/Helpers.php +++ b/src/Helpers.php @@ -33,6 +33,10 @@ public static function getAccessToken($deiver, $aouth, $key = 'access_token') $aouth = json_decode($aouth, true); return 'Bearer '.$aouth[$key]; break; + case 'gitee': + $aouth = json_decode($aouth, true); + return $aouth[$key]; + break; default: return $aouth; break;