mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
5939dfa979
commit
f6184c15c5
8
composer.lock
generated
8
composer.lock
generated
@ -909,12 +909,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "bf0d7accc9fc460d33954f2a9f7969fbfcb40c89"
|
"reference": "a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/bf0d7accc9fc460d33954f2a9f7969fbfcb40c89",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f",
|
||||||
"reference": "bf0d7accc9fc460d33954f2a9f7969fbfcb40c89",
|
"reference": "a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -958,7 +958,7 @@
|
|||||||
],
|
],
|
||||||
"description": "ThinkPHP v6.0 Development Library",
|
"description": "ThinkPHP v6.0 Development Library",
|
||||||
"homepage": "http://framework.thinkadmin.top",
|
"homepage": "http://framework.thinkadmin.top",
|
||||||
"time": "2020-04-08T02:44:51+00:00"
|
"time": "2020-04-09T14:06:42+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zoujingli/wechat-developer",
|
"name": "zoujingli/wechat-developer",
|
||||||
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
@ -935,12 +935,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||||
"reference": "bf0d7accc9fc460d33954f2a9f7969fbfcb40c89"
|
"reference": "a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/bf0d7accc9fc460d33954f2a9f7969fbfcb40c89",
|
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f",
|
||||||
"reference": "bf0d7accc9fc460d33954f2a9f7969fbfcb40c89",
|
"reference": "a6b2f3929c9853c700e45e260c2eaf0ed0aeda3f",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
@ -956,7 +956,7 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"topthink/framework": "^6.0"
|
"topthink/framework": "^6.0"
|
||||||
},
|
},
|
||||||
"time": "2020-04-08T02:44:51+00:00",
|
"time": "2020-04-09T14:06:42+00:00",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"think": {
|
"think": {
|
||||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// This file is automatically generated at:2020-04-09 09:52:11
|
// This file is automatically generated at:2020-04-09 22:16:17
|
||||||
declare (strict_types = 1);
|
declare (strict_types = 1);
|
||||||
return array (
|
return array (
|
||||||
0 => 'think\\app\\Service',
|
0 => 'think\\app\\Service',
|
||||||
|
22
vendor/zoujingli/think-library/src/Command.php
vendored
22
vendor/zoujingli/think-library/src/Command.php
vendored
@ -95,4 +95,26 @@ class Command extends ThinkCommand
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置成功的消息
|
||||||
|
* @param string $message 消息内容
|
||||||
|
* @return Command
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
protected function setQueueSuccessMessage($message)
|
||||||
|
{
|
||||||
|
return $this->setQueueMessage(3, $message);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置失败的消息
|
||||||
|
* @param string $message 消息内容
|
||||||
|
* @return Command
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
protected function setQueueErrorMessage($message)
|
||||||
|
{
|
||||||
|
return $this->setQueueMessage(4, $message);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -114,7 +114,7 @@ class Install extends Command
|
|||||||
else foreach ($data as $file) {
|
else foreach ($data as $file) {
|
||||||
list($state, $mode, $name) = InstallService::instance()->fileSynchronization($file);
|
list($state, $mode, $name) = InstallService::instance()->fileSynchronization($file);
|
||||||
if ($state) {
|
if ($state) {
|
||||||
if ($mode === 'add') $this->output->writeln("--- {$name} added successfully");
|
if ($mode === 'add') $this->output->writeln("--- {$name} add successfully");
|
||||||
if ($mode === 'mod') $this->output->writeln("--- {$name} update successfully");
|
if ($mode === 'mod') $this->output->writeln("--- {$name} update successfully");
|
||||||
if ($mode === 'del') $this->output->writeln("--- {$name} delete successfully");
|
if ($mode === 'del') $this->output->writeln("--- {$name} delete successfully");
|
||||||
} else {
|
} else {
|
||||||
|
@ -47,7 +47,8 @@ class CleanQueue extends Queue
|
|||||||
* @param Input $input
|
* @param Input $input
|
||||||
* @param Output $output
|
* @param Output $output
|
||||||
* @throws \think\admin\Exception
|
* @throws \think\admin\Exception
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
protected function execute(Input $input, Output $output)
|
protected function execute(Input $input, Output $output)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user