mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
57ad11c63e
commit
fe98588f9b
8
composer.lock
generated
8
composer.lock
generated
@ -937,12 +937,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242"
|
||||
"reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242",
|
||||
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/29bdf3342f44b803db8206ca9cfba4415f1b7e44",
|
||||
"reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -987,7 +987,7 @@
|
||||
],
|
||||
"description": "ThinkPHP v6.0 Development Library",
|
||||
"homepage": "http://thinkadmin.top",
|
||||
"time": "2020-08-24T06:25:31+00:00"
|
||||
"time": "2020-08-24T06:41:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "zoujingli/wechat-developer",
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -963,12 +963,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242"
|
||||
"reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242",
|
||||
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/29bdf3342f44b803db8206ca9cfba4415f1b7e44",
|
||||
"reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -985,7 +985,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-08-24T06:25:31+00:00",
|
||||
"time": "2020-08-24T06:41:53+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"think": {
|
||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// This file is automatically generated at:2020-08-24 14:33:34
|
||||
// This file is automatically generated at:2020-08-24 14:45:27
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\admin\\Library',
|
||||
|
@ -163,8 +163,8 @@ class ModuleService extends Service
|
||||
{
|
||||
$data = $this->app->cache->get('moduleAllowRule', []);
|
||||
if (is_array($data) && count($data) > 0) return $data;
|
||||
$data = ['config', 'public/static'];
|
||||
foreach (array_keys($this->getModules()) as $name) $data[] = 'app/' . $name;
|
||||
$data = ['config', 'public/static', 'public/router.php', 'public/index.php'];
|
||||
foreach (array_keys($this->getModules()) as $name) $data[] = "app/{$name}";
|
||||
$this->app->cache->set('moduleAllowRule', $data, 30);
|
||||
return $data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user