[更新]ComposerUpdate

This commit is contained in:
Anyon 2018-05-09 12:27:58 +08:00
parent 7aae42c8c4
commit 2a1aff4a8f
7 changed files with 22 additions and 20 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c::getLoader();
return ComposerAutoloaderInit718a8d9567dd1edbcfc83169e7de8f66::getLoader();

View File

@ -165,6 +165,7 @@ return array(
'app\\store\\controller\\wechat\\Demo' => $baseDir . '/application/store/controller/wechat/Demo.php',
'app\\store\\controller\\wechat\\Index' => $baseDir . '/application/store/controller/wechat/Index.php',
'app\\store\\service\\GoodsService' => $baseDir . '/application/store/service/GoodsService.php',
'app\\store\\service\\MemberService' => $baseDir . '/application/store/service/MemberService.php',
'app\\store\\service\\OrderService' => $baseDir . '/application/store/service/OrderService.php',
'app\\wechat\\controller\\Config' => $baseDir . '/application/wechat/controller/Config.php',
'app\\wechat\\controller\\Fans' => $baseDir . '/application/wechat/controller/Fans.php',

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c
class ComposerAutoloaderInit718a8d9567dd1edbcfc83169e7de8f66
{
private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit718a8d9567dd1edbcfc83169e7de8f66', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit718a8d9567dd1edbcfc83169e7de8f66', '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\ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInitf5974243cd36d6c47ccc2deac6411e2c
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequiref5974243cd36d6c47ccc2deac6411e2c($fileIdentifier, $file);
composerRequire718a8d9567dd1edbcfc83169e7de8f66($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequiref5974243cd36d6c47ccc2deac6411e2c($fileIdentifier, $file)
function composerRequire718a8d9567dd1edbcfc83169e7de8f66($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c
class ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66
{
public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
@ -248,6 +248,7 @@ class ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c
'app\\store\\controller\\wechat\\Demo' => __DIR__ . '/../..' . '/application/store/controller/wechat/Demo.php',
'app\\store\\controller\\wechat\\Index' => __DIR__ . '/../..' . '/application/store/controller/wechat/Index.php',
'app\\store\\service\\GoodsService' => __DIR__ . '/../..' . '/application/store/service/GoodsService.php',
'app\\store\\service\\MemberService' => __DIR__ . '/../..' . '/application/store/service/MemberService.php',
'app\\store\\service\\OrderService' => __DIR__ . '/../..' . '/application/store/service/OrderService.php',
'app\\wechat\\controller\\Config' => __DIR__ . '/../..' . '/application/wechat/controller/Config.php',
'app\\wechat\\controller\\Fans' => __DIR__ . '/../..' . '/application/wechat/controller/Fans.php',
@ -274,9 +275,9 @@ class ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitf5974243cd36d6c47ccc2deac6411e2c::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit718a8d9567dd1edbcfc83169e7de8f66::$classMap;
}, null, ClassLoader::class);
}

View File

@ -80,17 +80,17 @@
},
{
"name": "zoujingli/wechat-developer",
"version": "v1.1.3",
"version_normalized": "1.1.3.0",
"version": "v1.1.4",
"version_normalized": "1.1.4.0",
"source": {
"type": "git",
"url": "https://github.com/zoujingli/WeChatDeveloper.git",
"reference": "4b1112e8d4723ce5e6ef0d6eee41a02e588b60ab"
"reference": "011e4608726fa83cb495dfa1f4d4f56c154ada21"
},
"dist": {
"type": "zip",
"url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/4b1112e8d4723ce5e6ef0d6eee41a02e588b60ab.zip",
"reference": "4b1112e8d4723ce5e6ef0d6eee41a02e588b60ab",
"url": "https://files.phpcomposer.com/files/zoujingli/WeChatDeveloper/011e4608726fa83cb495dfa1f4d4f56c154ada21.zip",
"reference": "011e4608726fa83cb495dfa1f4d4f56c154ada21",
"shasum": ""
},
"require": {
@ -98,7 +98,7 @@
"ext-openssl": "*",
"php": ">=5.4"
},
"time": "2018-05-03T07:30:54+00:00",
"time": "2018-05-09T04:22:21+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {

View File

@ -105,7 +105,7 @@ class BasicWeChat
if (!empty($result['access_token'])) {
Tools::setCache($cache, $result['access_token'], 7000);
}
return $result['access_token'];
return $this->access_token = $result['access_token'];
}
/**

View File

@ -300,7 +300,7 @@ class Pay
$option = [];
if ($isCert) {
foreach (['ssl_cer', 'ssl_key'] as $key) {
if (empty($options[$key])) {
if (empty($option[$key])) {
throw new InvalidArgumentException("Missing Config -- [{$key}]", '0');
}
}