From 391f78e1fed060832123d90307cfc60db38c1ee8 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 24 Aug 2020 13:16:43 +0800 Subject: [PATCH] ComposerUpdate --- composer.lock | 8 ++++---- vendor/composer/installed.json | 8 ++++---- vendor/services.php | 2 +- .../zoujingli/think-library/src/service/ModuleService.php | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/composer.lock b/composer.lock index 20f3dd048..0c2d8a65d 100644 --- a/composer.lock +++ b/composer.lock @@ -937,12 +937,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9" + "reference": "f0c49e28928af221123c15022dc352423439dbc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", - "reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f0c49e28928af221123c15022dc352423439dbc1", + "reference": "f0c49e28928af221123c15022dc352423439dbc1", "shasum": "", "mirrors": [ { @@ -987,7 +987,7 @@ ], "description": "ThinkPHP v6.0 Development Library", "homepage": "http://thinkadmin.top", - "time": "2020-08-24T04:57:29+00:00" + "time": "2020-08-24T05:13:21+00:00" }, { "name": "zoujingli/wechat-developer", diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index b28a533b1..7e2e638ec 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -963,12 +963,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9" + "reference": "f0c49e28928af221123c15022dc352423439dbc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", - "reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f0c49e28928af221123c15022dc352423439dbc1", + "reference": "f0c49e28928af221123c15022dc352423439dbc1", "shasum": "", "mirrors": [ { @@ -985,7 +985,7 @@ "ext-mbstring": "*", "topthink/framework": "^6.0" }, - "time": "2020-08-24T04:57:29+00:00", + "time": "2020-08-24T05:13:21+00:00", "type": "library", "extra": { "think": { diff --git a/vendor/services.php b/vendor/services.php index 33e0d4b29..8391b7f4e 100644 --- a/vendor/services.php +++ b/vendor/services.php @@ -1,5 +1,5 @@ 'think\\admin\\Library', diff --git a/vendor/zoujingli/think-library/src/service/ModuleService.php b/vendor/zoujingli/think-library/src/service/ModuleService.php index ab1248e45..e4e6da9ff 100644 --- a/vendor/zoujingli/think-library/src/service/ModuleService.php +++ b/vendor/zoujingli/think-library/src/service/ModuleService.php @@ -149,6 +149,7 @@ class ModuleService extends Service $vars = $this->_getModuleVersion($name); if (is_array($vars) && isset($vars['version']) && preg_match('|^\d{4}\.\d{2}\.\d{2}\.\d{2}$|', $vars['version'])) { $data[$name] = $vars; + $data[$name]['change'] = []; foreach ($service->scanDirectory($this->app->getBasePath() . $name . '/module/change/', [], '.md') as $file) { $data[$name]['change'][pathinfo($file, PATHINFO_FILENAME)] = Parsedown::instance()->parse(file_get_contents($file)); }