ComposerUpdate

This commit is contained in:
Anyon 2020-08-24 14:45:44 +08:00
parent 57ad11c63e
commit fe98588f9b
4 changed files with 11 additions and 11 deletions

8
composer.lock generated
View File

@ -937,12 +937,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242" "reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/29bdf3342f44b803db8206ca9cfba4415f1b7e44",
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242", "reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -987,7 +987,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://thinkadmin.top", "homepage": "http://thinkadmin.top",
"time": "2020-08-24T06:25:31+00:00" "time": "2020-08-24T06:41:53+00:00"
}, },
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",

View File

@ -963,12 +963,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242" "reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/29bdf3342f44b803db8206ca9cfba4415f1b7e44",
"reference": "62a79d2ab6f1e4bf79e2c5bac8f1e659109a9242", "reference": "29bdf3342f44b803db8206ca9cfba4415f1b7e44",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -985,7 +985,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-08-24T06:25:31+00:00", "time": "2020-08-24T06:41:53+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?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); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',

View File

@ -163,8 +163,8 @@ class ModuleService extends Service
{ {
$data = $this->app->cache->get('moduleAllowRule', []); $data = $this->app->cache->get('moduleAllowRule', []);
if (is_array($data) && count($data) > 0) return $data; if (is_array($data) && count($data) > 0) return $data;
$data = ['config', 'public/static']; $data = ['config', 'public/static', 'public/router.php', 'public/index.php'];
foreach (array_keys($this->getModules()) as $name) $data[] = 'app/' . $name; foreach (array_keys($this->getModules()) as $name) $data[] = "app/{$name}";
$this->app->cache->set('moduleAllowRule', $data, 30); $this->app->cache->set('moduleAllowRule', $data, 30);
return $data; return $data;
} }