diff --git a/vendor/autoload.php b/vendor/autoload.php index ebcced8e3..09c23cb7a 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3::getLoader(); +return ComposerAutoloaderInit468e08d63393129419db8541182b61a2::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index fbebebb2f..040113f45 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3 +class ComposerAutoloaderInit468e08d63393129419db8541182b61a2 { private static $loader; @@ -19,15 +19,15 @@ class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit468e08d63393129419db8541182b61a2', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit468e08d63393129419db8541182b61a2', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit468e08d63393129419db8541182b61a2::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ class ComposerAutoloaderInit2a71d9dff46ddf4e8b4d8221715776c3 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit468e08d63393129419db8541182b61a2::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire2a71d9dff46ddf4e8b4d8221715776c3($fileIdentifier, $file); + composerRequire468e08d63393129419db8541182b61a2($fileIdentifier, $file); } return $loader; } } -function composerRequire2a71d9dff46ddf4e8b4d8221715776c3($fileIdentifier, $file) +function composerRequire468e08d63393129419db8541182b61a2($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index b099bf7b4..38113b9b2 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3 +class ComposerStaticInit468e08d63393129419db8541182b61a2 { public static $files = array ( '9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php', @@ -391,9 +391,9 @@ class ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit2a71d9dff46ddf4e8b4d8221715776c3::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit468e08d63393129419db8541182b61a2::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit468e08d63393129419db8541182b61a2::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit468e08d63393129419db8541182b61a2::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index f97e327c9..c53756fe5 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -49,18 +49,18 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/wechat-php-sdk.git", - "reference": "390beea5af5b3c330cbf460d3f118300827ace93" + "reference": "4e8563507213f030cb6612fafceb96380ce7cfb7" }, "dist": { "type": "zip", - "url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/390beea5af5b3c330cbf460d3f118300827ace93.zip", - "reference": "390beea5af5b3c330cbf460d3f118300827ace93", + "url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/4e8563507213f030cb6612fafceb96380ce7cfb7.zip", + "reference": "4e8563507213f030cb6612fafceb96380ce7cfb7", "shasum": "" }, "require": { "php": ">=5.3.3" }, - "time": "2018-01-16T07:03:09+00:00", + "time": "2018-02-05T02:44:49+00:00", "type": "project", "installation-source": "dist", "autoload": { diff --git a/vendor/zoujingli/wechat-php-sdk/Wechat/Lib/Tools.php b/vendor/zoujingli/wechat-php-sdk/Wechat/Lib/Tools.php index 8f6fd5de1..ba7bb1c42 100644 --- a/vendor/zoujingli/wechat-php-sdk/Wechat/Lib/Tools.php +++ b/vendor/zoujingli/wechat-php-sdk/Wechat/Lib/Tools.php @@ -147,11 +147,9 @@ class Tools static public function httpGet($url) { $curl = curl_init(); - if (stripos($url, "https") === 0) { - curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); - curl_setopt($curl, CURLOPT_SSLVERSION, 1); - } + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); + curl_setopt($curl, CURLOPT_SSLVERSION, 1); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_TIMEOUT, 30); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);