diff --git a/composer.json b/composer.json index 9bccbf757..eaa958b04 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "type": "project", - "name": "zoujingli/ThinkAdmin", + "name": "zoujingli/thinkadmin", "authors": [ { "name": "Anyon", diff --git a/route/demo.php b/route/demo.php index 94b623c71..472dbbde7 100644 --- a/route/demo.php +++ b/route/demo.php @@ -14,6 +14,8 @@ use think\facade\Route; +return []; + /* 测试环境禁止操作路由绑定 */ Route::post('admin/user/pass', function () { return json(['code' => 0, 'info' => '测试环境禁修改用户密码!']); diff --git a/vendor/autoload.php b/vendor/autoload.php index 8ee44958e..955efb0ad 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit9cdb8abddb73e11ef3cbbe26d18b69af::getLoader(); +return ComposerAutoloaderInitdd2ee3ea59df033b75a787ac77c71af2::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 0bab65001..2000bea18 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -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; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index bea9a270c..a7a2c9a75 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -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); } diff --git a/vendor/zoujingli/think-library/readme.md b/vendor/zoujingli/think-library/readme.md index bc013ba02..03ebb0ed9 100644 --- a/vendor/zoujingli/think-library/readme.md +++ b/vendor/zoujingli/think-library/readme.md @@ -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 代码仓库 --