This commit is contained in:
候学杰 2018-02-02 11:25:52 +08:00
parent ccb1d13bd9
commit c32291ca4d

View File

@ -44,7 +44,7 @@ class Authenticate
if ($code) {
$token = app('pd.auth')->getAccessToken($code);
if (isset($token['access_token'])) {
setcookie(self::CookieName, $token['access_token'], strtotime($token['expire_at']));
setcookie(self::CookieName, $token['access_token'], strtotime($token['expired_at']));
$qs = $request->getQueryString();
$params = explode('&', $qs);