ComposerUpdate

This commit is contained in:
Anyon 2020-08-24 13:16:43 +08:00
parent 5617db4e42
commit 391f78e1fe
4 changed files with 10 additions and 9 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": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9" "reference": "f0c49e28928af221123c15022dc352423439dbc1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f0c49e28928af221123c15022dc352423439dbc1",
"reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", "reference": "f0c49e28928af221123c15022dc352423439dbc1",
"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-24T04:57:29+00:00" "time": "2020-08-24T05:13:21+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": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9" "reference": "f0c49e28928af221123c15022dc352423439dbc1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f0c49e28928af221123c15022dc352423439dbc1",
"reference": "2da65a8cf9ed06aa9be96af4eec6c13c6637bed9", "reference": "f0c49e28928af221123c15022dc352423439dbc1",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -985,7 +985,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-08-24T04:57:29+00:00", "time": "2020-08-24T05:13:21+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 13:02:01 // This file is automatically generated at:2020-08-24 13:16:26
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',

View File

@ -149,6 +149,7 @@ class ModuleService extends Service
$vars = $this->_getModuleVersion($name); $vars = $this->_getModuleVersion($name);
if (is_array($vars) && isset($vars['version']) && preg_match('|^\d{4}\.\d{2}\.\d{2}\.\d{2}$|', $vars['version'])) { if (is_array($vars) && isset($vars['version']) && preg_match('|^\d{4}\.\d{2}\.\d{2}\.\d{2}$|', $vars['version'])) {
$data[$name] = $vars; $data[$name] = $vars;
$data[$name]['change'] = [];
foreach ($service->scanDirectory($this->app->getBasePath() . $name . '/module/change/', [], '.md') as $file) { 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)); $data[$name]['change'][pathinfo($file, PATHINFO_FILENAME)] = Parsedown::instance()->parse(file_get_contents($file));
} }