mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
98f33df9a2
commit
c2e41719a3
8
composer.lock
generated
8
composer.lock
generated
@ -909,12 +909,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "f4cb0f3958f9b6b5b460a0ecf123db7ba180279a"
|
||||
"reference": "a3669a172aaaa239a8ff1b557f38ab75eae79434"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f4cb0f3958f9b6b5b460a0ecf123db7ba180279a",
|
||||
"reference": "f4cb0f3958f9b6b5b460a0ecf123db7ba180279a",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a3669a172aaaa239a8ff1b557f38ab75eae79434",
|
||||
"reference": "a3669a172aaaa239a8ff1b557f38ab75eae79434",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -958,7 +958,7 @@
|
||||
],
|
||||
"description": "ThinkPHP v6.0 Development Library",
|
||||
"homepage": "http://framework.thinkadmin.top",
|
||||
"time": "2020-04-22T03:34:30+00:00"
|
||||
"time": "2020-04-22T06:39:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "zoujingli/wechat-developer",
|
||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -935,12 +935,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "f4cb0f3958f9b6b5b460a0ecf123db7ba180279a"
|
||||
"reference": "a3669a172aaaa239a8ff1b557f38ab75eae79434"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f4cb0f3958f9b6b5b460a0ecf123db7ba180279a",
|
||||
"reference": "f4cb0f3958f9b6b5b460a0ecf123db7ba180279a",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a3669a172aaaa239a8ff1b557f38ab75eae79434",
|
||||
"reference": "a3669a172aaaa239a8ff1b557f38ab75eae79434",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -956,7 +956,7 @@
|
||||
"ext-json": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-04-22T03:34:30+00:00",
|
||||
"time": "2020-04-22T06:39:20+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-04-22 11:47:03
|
||||
// This file is automatically generated at:2020-04-22 14:45:04
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\app\\Service',
|
||||
|
@ -97,11 +97,17 @@ class Install extends Command
|
||||
$this->name = trim($input->getArgument('name'));
|
||||
if (empty($this->name)) {
|
||||
$this->output->writeln('Module name of online installation cannot be empty');
|
||||
} elseif ($this->name === 'all') {
|
||||
list($this->rules, $this->ignore) = [[], []];
|
||||
foreach ($this->bind as $bind) {
|
||||
$this->rules = array_merge($this->rules, $bind['rules']);
|
||||
$this->ignore = array_merge($this->ignore, $bind['ignore']);
|
||||
}
|
||||
[$this->installFile(), $this->installData()];
|
||||
} elseif (isset($this->bind[$this->name])) {
|
||||
$this->rules = empty($this->bind[$this->name]['rules']) ? [] : $this->bind[$this->name]['rules'];
|
||||
$this->ignore = empty($this->bind[$this->name]['ignore']) ? [] : $this->bind[$this->name]['ignore'];
|
||||
$this->installFile();
|
||||
$this->installData();
|
||||
[$this->installFile(), $this->installData()];
|
||||
} else {
|
||||
$this->output->writeln("The specified module {$this->name} is not configured with installation rules");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user