mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
a93730639c
commit
eba9bc0c72
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -941,12 +941,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "4871a421983c89e92e220ae9a30152b6cd6c4504"
|
||||
"reference": "09c2992650ebd84dfb1de2e19a458119e219abda"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/4871a421983c89e92e220ae9a30152b6cd6c4504",
|
||||
"reference": "4871a421983c89e92e220ae9a30152b6cd6c4504",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/09c2992650ebd84dfb1de2e19a458119e219abda",
|
||||
"reference": "09c2992650ebd84dfb1de2e19a458119e219abda",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -963,7 +963,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-10-29T06:49:03+00:00",
|
||||
"time": "2020-10-29T06:49:48+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"think": {
|
||||
|
@ -47,9 +47,9 @@ class NodeService extends Service
|
||||
*/
|
||||
public function getCurrent(string $type = ''): string
|
||||
{
|
||||
$prefix = $this->app->http->getName();
|
||||
$namespace = $this->app->getNamespace();
|
||||
if (preg_match("|\\\\addons\\\\{$prefix}$|", $namespace)) {
|
||||
$space = $this->app->getNamespace();
|
||||
$prefix = strtolower($this->app->http->getName());
|
||||
if (preg_match("|\\\\addons\\\\{$prefix}$|", $space)) {
|
||||
$prefix = "addons-{$prefix}";
|
||||
}
|
||||
// 获取应用前缀节点
|
||||
|
Loading…
x
Reference in New Issue
Block a user