[更新]ComposerUpdate

This commit is contained in:
Anyon 2019-04-02 15:08:40 +08:00
parent 22ecf40660
commit 4e96578cc2
6 changed files with 17 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{
"type": "project",
"name": "zoujingli/ThinkAdmin",
"name": "zoujingli/thinkadmin",
"authors": [
{
"name": "Anyon",

View File

@ -14,6 +14,8 @@
use think\facade\Route;
return [];
/* 测试环境禁止操作路由绑定 */
Route::post('admin/user/pass', function () {
return json(['code' => 0, 'info' => '测试环境禁修改用户密码!']);

2
vendor/autoload.php vendored
View File

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

View File

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

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af
class ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2
{
public static $files = array (
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
@ -346,9 +346,9 @@ class ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$classMap;
}, null, ClassLoader::class);
}

View File

@ -22,8 +22,8 @@ ThinkLibrary 是针对 ThinkPHP5.1 版本封装的一套工具类库,方便快
* 更新功能等待您来发现哦....
## 参考项目
* Gitee 仓库https://gitee.com/zoujingli/ThinkAdmin
* Github 仓库https://github.com/zoujingli/ThinkAdmin
* Gitee 仓库https://gitee.com/zoujingli/framework
* Github 仓库https://github.com/zoujingli/framework
代码仓库
--