ComposerUpdate

This commit is contained in:
邹景立 2021-03-20 14:21:36 +08:00
parent 6e83bd3610
commit 2b30e333a1
5 changed files with 11 additions and 11 deletions

View File

@ -198,7 +198,7 @@ return array(
'app\\admin\\controller\\api\\Queue' => $baseDir . '/app/admin/controller/api/Queue.php',
'app\\admin\\controller\\api\\Update' => $baseDir . '/app/admin/controller/api/Update.php',
'app\\admin\\controller\\api\\Upload' => $baseDir . '/app/admin/controller/api/Upload.php',
'app\\data\\command\\OrderClear' => $baseDir . '/app/data/command/OrderClear.php',
'app\\data\\command\\OrderClean' => $baseDir . '/app/data/command/OrderClean.php',
'app\\data\\command\\UserAmount' => $baseDir . '/app/data/command/UserAmount.php',
'app\\data\\command\\UserTransfer' => $baseDir . '/app/data/command/UserTransfer.php',
'app\\data\\command\\UserUpgrade' => $baseDir . '/app/data/command/UserUpgrade.php',

View File

@ -327,7 +327,7 @@ class ComposerStaticInitebdef296d7d83da818fc7b45caf0540d
'app\\admin\\controller\\api\\Queue' => __DIR__ . '/../..' . '/app/admin/controller/api/Queue.php',
'app\\admin\\controller\\api\\Update' => __DIR__ . '/../..' . '/app/admin/controller/api/Update.php',
'app\\admin\\controller\\api\\Upload' => __DIR__ . '/../..' . '/app/admin/controller/api/Upload.php',
'app\\data\\command\\OrderClear' => __DIR__ . '/../..' . '/app/data/command/OrderClear.php',
'app\\data\\command\\OrderClean' => __DIR__ . '/../..' . '/app/data/command/OrderClean.php',
'app\\data\\command\\UserAmount' => __DIR__ . '/../..' . '/app/data/command/UserAmount.php',
'app\\data\\command\\UserTransfer' => __DIR__ . '/../..' . '/app/data/command/UserTransfer.php',
'app\\data\\command\\UserUpgrade' => __DIR__ . '/../..' . '/app/data/command/UserUpgrade.php',

View File

@ -834,12 +834,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "9aa8249ae2efa2b5e3fa3cf76c4a7b3c1f61122d"
"reference": "efcabe5c0e1f0d87f92a4b67dfdd024a632b4578"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/9aa8249ae2efa2b5e3fa3cf76c4a7b3c1f61122d",
"reference": "9aa8249ae2efa2b5e3fa3cf76c4a7b3c1f61122d",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/efcabe5c0e1f0d87f92a4b67dfdd024a632b4578",
"reference": "efcabe5c0e1f0d87f92a4b67dfdd024a632b4578",
"shasum": "",
"mirrors": [
{
@ -856,7 +856,7 @@
"ext-mbstring": "*",
"topthink/framework": "^6.0"
},
"time": "2021-03-19T06:30:50+00:00",
"time": "2021-03-20T06:18:37+00:00",
"type": "library",
"extra": {
"think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php
// This file is automatically generated at:2021-03-19 14:37:11
// This file is automatically generated at:2021-03-20 14:21:24
declare (strict_types = 1);
return array (
0 => 'think\\admin\\Library',

View File

@ -80,7 +80,7 @@ class Queue extends Command
protected function webStopAction()
{
$root = $this->app->getRootPath() . 'public' . DIRECTORY_SEPARATOR;
if (count($result = $this->process->query("-t {$root} {$root}router.php")) < 1) {
if (count($result = $this->process->query("{$root} {$root}router.php")) < 1) {
$this->output->writeln("># There are no WebServer processes to stop");
} else foreach ($result as $item) {
$this->process->close(intval($item['pid']));
@ -107,7 +107,7 @@ class Queue extends Command
$this->output->writeln("># WebServer process started successfully for pid {$result[0]['pid']}");
if ($this->process->iswin()) $this->process->exec("start http://{$host}:{$port}");
} else {
$this->output->writeln('>> WebServer process failed to start');
$this->output->writeln('># WebServer process failed to start');
}
}
}
@ -118,7 +118,7 @@ class Queue extends Command
protected function webStatusAction()
{
$root = $this->app->getRootPath() . 'public' . DIRECTORY_SEPARATOR;
if (count($result = $this->process->query("-t {$root} {$root}router.php")) > 0) {
if (count($result = $this->process->query("{$root} {$root}router.php")) > 0) {
$this->output->comment(">$ {$result[0]['cmd']}");
$this->output->writeln("># WebServer process {$result[0]['pid']} running");
} else {
@ -176,7 +176,7 @@ class Queue extends Command
if (count($list) > 0) foreach ($list as $item) {
$this->output->writeln("># {$item['pid']}\t{$item['cmd']}");
} else {
$this->output->writeln('>> No related task process found');
$this->output->writeln('># No related task process found');
}
}