mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]composer第三方组件更新
This commit is contained in:
parent
9b0d464048
commit
91779b4286
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf::getLoader();
|
||||
return ComposerAutoloaderInitf044e82bda67c57e2e97ab8ef5eda062::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf
|
||||
class ComposerAutoloaderInitf044e82bda67c57e2e97ab8ef5eda062
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitf044e82bda67c57e2e97ab8ef5eda062', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitf044e82bda67c57e2e97ab8ef5eda062', '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\ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInite60d70c3d39de80436d30ec08e9a7eaf
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequiree60d70c3d39de80436d30ec08e9a7eaf($fileIdentifier, $file);
|
||||
composerRequiref044e82bda67c57e2e97ab8ef5eda062($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequiree60d70c3d39de80436d30ec08e9a7eaf($fileIdentifier, $file)
|
||||
function composerRequiref044e82bda67c57e2e97ab8ef5eda062($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf
|
||||
class ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062
|
||||
{
|
||||
public static $files = array (
|
||||
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
|
||||
@ -385,9 +385,9 @@ class ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInite60d70c3d39de80436d30ec08e9a7eaf::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitf044e82bda67c57e2e97ab8ef5eda062::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
12
vendor/composer/installed.json
vendored
12
vendor/composer/installed.json
vendored
@ -49,18 +49,18 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/wechat-php-sdk.git",
|
||||
"reference": "a5ac4d6351c8b07982f77bbbe6ea5fd823d62dda"
|
||||
"reference": "25f246fade52aa53514fb49ec48f72cdef2ca1ea"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/a5ac4d6351c8b07982f77bbbe6ea5fd823d62dda.zip",
|
||||
"reference": "a5ac4d6351c8b07982f77bbbe6ea5fd823d62dda",
|
||||
"url": "https://files.phpcomposer.com/files/zoujingli/wechat-php-sdk/25f246fade52aa53514fb49ec48f72cdef2ca1ea.zip",
|
||||
"reference": "25f246fade52aa53514fb49ec48f72cdef2ca1ea",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"time": "2017-09-29T07:13:32+00:00",
|
||||
"time": "2017-09-30T14:25:36+00:00",
|
||||
"type": "project",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
@ -381,8 +381,8 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/options-resolver",
|
||||
"version": "v3.3.9",
|
||||
"version_normalized": "3.3.9.0",
|
||||
"version": "v3.3.10",
|
||||
"version_normalized": "3.3.10.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/options-resolver.git",
|
||||
|
@ -165,7 +165,7 @@ class Common
|
||||
public function getAccessToken($appid = '', $appsecret = '', $token = '')
|
||||
{
|
||||
if (!$appid || !$appsecret) {
|
||||
list($appid, $$appsecret) = [$this->appid, $this->appsecret];
|
||||
list($appid, $appsecret) = [$this->appid, $this->appsecret];
|
||||
}
|
||||
if ($token) {
|
||||
return $this->access_token = $token;
|
||||
|
@ -103,7 +103,7 @@ class WechatService
|
||||
$data = $receive->getRev()->getRevData();
|
||||
if ($data['InfoType'] === 'component_verify_ticket' && !empty($data['ComponentVerifyTicket'])) {
|
||||
# 记录推送日志到微信SDK
|
||||
Tools::log("Get Wechat Push ComponentVerifyTicket Success. ", "MSG-{$this->authorizer_appid}");
|
||||
Tools::log("Wechat Push ComponentVerifyTicket Success. ");
|
||||
Tools::setCache('component_verify_ticket', $data['ComponentVerifyTicket']);
|
||||
}
|
||||
return $data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user