Skip to content

Commit

Permalink
单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
2540463097 committed Jan 15, 2021
1 parent 7a6f28e commit 238d1b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 238d1b8

Please sign in to comment.