ComposerUpdate

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

View File

@ -44,7 +44,6 @@ class InstallService extends Service
{ {
$this->root = strtr($this->app->getRootPath(), '\\', '/'); $this->root = strtr($this->app->getRootPath(), '\\', '/');
$this->server = ModuleService::instance()->getServer(); $this->server = ModuleService::instance()->getServer();
dump($this->server);
} }
/** /**
@ -81,7 +80,6 @@ class InstallService extends Service
$result = json_decode(HttpExtend::post("{$this->server}/admin/api.update/node", [ $result = json_decode(HttpExtend::post("{$this->server}/admin/api.update/node", [
'rules' => json_encode($rules1), 'ignore' => json_encode($ignore1), 'rules' => json_encode($rules1), 'ignore' => json_encode($ignore1),
]), true); ]), true);
dump($result);
if (!empty($result['code'])) { if (!empty($result['code'])) {
$new = $this->getList($result['data']['rules'], $result['data']['ignore']); $new = $this->getList($result['data']['rules'], $result['data']['ignore']);
foreach ($this->_grenerateDifferenceContrast($result['data']['list'], $new['list']) as $file) { foreach ($this->_grenerateDifferenceContrast($result['data']['list'], $new['list']) as $file) {
@ -90,7 +88,6 @@ class InstallService extends Service
} }
} }
} }
dump($data);
return $data; return $data;
} }