mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 10:22:32 +08:00
ComposerUpdate
This commit is contained in:
parent
a02dd0b3e1
commit
e258622de4
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -941,12 +941,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "dcefe85f14c712583408aebf35c3e9dcb70b1e96"
|
"reference": "a82943543b07edf766267b888345bfa912cb2cee"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/dcefe85f14c712583408aebf35c3e9dcb70b1e96",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a82943543b07edf766267b888345bfa912cb2cee",
|
||||||
"reference": "dcefe85f14c712583408aebf35c3e9dcb70b1e96",
|
"reference": "a82943543b07edf766267b888345bfa912cb2cee",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -963,7 +963,7 @@
|
|||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
"topthink/framework": "^6.0"
|
"topthink/framework": "^6.0"
|
||||||
},
|
},
|
||||||
"time": "2020-11-02T03:28:32+00:00",
|
"time": "2020-11-03T09:51:30+00:00",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"think": {
|
"think": {
|
||||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// This file is automatically generated at:2020-11-02 11:34:57
|
// This file is automatically generated at:2020-11-03 21:05:50
|
||||||
declare (strict_types = 1);
|
declare (strict_types = 1);
|
||||||
return array (
|
return array (
|
||||||
0 => 'think\\admin\\Library',
|
0 => 'think\\admin\\Library',
|
||||||
|
@ -97,6 +97,7 @@ class Library extends Service
|
|||||||
$header['Access-Control-Allow-Origin'] = $origin;
|
$header['Access-Control-Allow-Origin'] = $origin;
|
||||||
$header['Access-Control-Allow-Methods'] = 'GET,POST,PATCH,PUT,DELETE';
|
$header['Access-Control-Allow-Methods'] = 'GET,POST,PATCH,PUT,DELETE';
|
||||||
$header['Access-Control-Allow-Headers'] = 'Authorization,Content-Type,If-Match,If-Modified-Since,If-None-Match,If-Unmodified-Since,X-Requested-With';
|
$header['Access-Control-Allow-Headers'] = 'Authorization,Content-Type,If-Match,If-Modified-Since,If-None-Match,If-Unmodified-Since,X-Requested-With';
|
||||||
|
$header['Access-Control-Allow-Credentials'] = 'true';
|
||||||
$header['Access-Control-Expose-Headers'] = 'User-Form-Token,User-Token,Token';
|
$header['Access-Control-Expose-Headers'] = 'User-Form-Token,User-Token,Token';
|
||||||
}
|
}
|
||||||
// 访问模式及访问权限检查
|
// 访问模式及访问权限检查
|
||||||
@ -111,7 +112,7 @@ class Library extends Service
|
|||||||
}
|
}
|
||||||
}, 'route');
|
}, 'route');
|
||||||
}
|
}
|
||||||
// 动态加入应用初始化系统函数
|
// 动态加载应用初始化系统函数
|
||||||
[$ds, $base] = [DIRECTORY_SEPARATOR, $this->app->getBasePath()];
|
[$ds, $base] = [DIRECTORY_SEPARATOR, $this->app->getBasePath()];
|
||||||
foreach (glob("{$base}*{$ds}sys.php") as $file) includeFile($file);
|
foreach (glob("{$base}*{$ds}sys.php") as $file) includeFile($file);
|
||||||
// 动态加载插件初始化系统函数
|
// 动态加载插件初始化系统函数
|
||||||
|
Loading…
x
Reference in New Issue
Block a user