mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]ComposerUpdate
This commit is contained in:
parent
22ecf40660
commit
4e96578cc2
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"name": "zoujingli/ThinkAdmin",
|
"name": "zoujingli/thinkadmin",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Anyon",
|
"name": "Anyon",
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
use think\facade\Route;
|
use think\facade\Route;
|
||||||
|
|
||||||
|
return [];
|
||||||
|
|
||||||
/* 测试环境禁止操作路由绑定 */
|
/* 测试环境禁止操作路由绑定 */
|
||||||
Route::post('admin/user/pass', function () {
|
Route::post('admin/user/pass', function () {
|
||||||
return json(['code' => 0, 'info' => '测试环境禁修改用户密码!']);
|
return json(['code' => 0, 'info' => '测试环境禁修改用户密码!']);
|
||||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
require_once __DIR__ . '/composer/autoload_real.php';
|
require_once __DIR__ . '/composer/autoload_real.php';
|
||||||
|
|
||||||
return ComposerAutoloaderInit9cdb8abddb73e11ef3cbbe26d18b69af::getLoader();
|
return ComposerAutoloaderInitdd2ee3ea59df033b75a787ac77c71af2::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
|
// autoload_real.php @generated by Composer
|
||||||
|
|
||||||
class ComposerAutoloaderInit9cdb8abddb73e11ef3cbbe26d18b69af
|
class ComposerAutoloaderInitdd2ee3ea59df033b75a787ac77c71af2
|
||||||
{
|
{
|
||||||
private static $loader;
|
private static $loader;
|
||||||
|
|
||||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit9cdb8abddb73e11ef3cbbe26d18b69af
|
|||||||
return self::$loader;
|
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();
|
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());
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||||
if ($useStaticLoader) {
|
if ($useStaticLoader) {
|
||||||
require_once __DIR__ . '/autoload_static.php';
|
require_once __DIR__ . '/autoload_static.php';
|
||||||
|
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::getInitializer($loader));
|
||||||
} else {
|
} else {
|
||||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||||
foreach ($map as $namespace => $path) {
|
foreach ($map as $namespace => $path) {
|
||||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit9cdb8abddb73e11ef3cbbe26d18b69af
|
|||||||
$loader->register(true);
|
$loader->register(true);
|
||||||
|
|
||||||
if ($useStaticLoader) {
|
if ($useStaticLoader) {
|
||||||
$includeFiles = Composer\Autoload\ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$files;
|
$includeFiles = Composer\Autoload\ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$files;
|
||||||
} else {
|
} else {
|
||||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||||
}
|
}
|
||||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||||
composerRequire9cdb8abddb73e11ef3cbbe26d18b69af($fileIdentifier, $file);
|
composerRequiredd2ee3ea59df033b75a787ac77c71af2($fileIdentifier, $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $loader;
|
return $loader;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function composerRequire9cdb8abddb73e11ef3cbbe26d18b69af($fileIdentifier, $file)
|
function composerRequiredd2ee3ea59df033b75a787ac77c71af2($fileIdentifier, $file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||||
require $file;
|
require $file;
|
||||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
namespace Composer\Autoload;
|
namespace Composer\Autoload;
|
||||||
|
|
||||||
class ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af
|
class ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2
|
||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
||||||
@ -346,9 +346,9 @@ class ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af
|
|||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$prefixLengthsPsr4;
|
$loader->prefixLengthsPsr4 = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$prefixLengthsPsr4;
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$prefixDirsPsr4;
|
$loader->prefixDirsPsr4 = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$prefixDirsPsr4;
|
||||||
$loader->classMap = ComposerStaticInit9cdb8abddb73e11ef3cbbe26d18b69af::$classMap;
|
$loader->classMap = ComposerStaticInitdd2ee3ea59df033b75a787ac77c71af2::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
4
vendor/zoujingli/think-library/readme.md
vendored
4
vendor/zoujingli/think-library/readme.md
vendored
@ -22,8 +22,8 @@ ThinkLibrary 是针对 ThinkPHP5.1 版本封装的一套工具类库,方便快
|
|||||||
* 更新功能等待您来发现哦....
|
* 更新功能等待您来发现哦....
|
||||||
|
|
||||||
## 参考项目
|
## 参考项目
|
||||||
* Gitee 仓库:https://gitee.com/zoujingli/ThinkAdmin
|
* Gitee 仓库:https://gitee.com/zoujingli/framework
|
||||||
* Github 仓库:https://github.com/zoujingli/ThinkAdmin
|
* Github 仓库:https://github.com/zoujingli/framework
|
||||||
|
|
||||||
代码仓库
|
代码仓库
|
||||||
--
|
--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user