$getToken['access_token'], 'stop_time' => bcsub($getToken['expires_in'], 300, 0), ]; return self::set($data); } public static function delToken($access_token) { return self::where('access_token', '<>', '')->delete(); } }