ComposerUpdate

This commit is contained in:
Anyon 2020-01-11 16:01:19 +08:00
parent dcb5cd69de
commit 41a350b7e2
2 changed files with 6 additions and 6 deletions

View File

@ -401,12 +401,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "25ebb45be8d3c08c8abecd4620dbd857bdaf6f05"
"reference": "01e2bea38f9c5e7ba0f0f09e84f7305560c70b76"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/25ebb45be8d3c08c8abecd4620dbd857bdaf6f05",
"reference": "25ebb45be8d3c08c8abecd4620dbd857bdaf6f05",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/01e2bea38f9c5e7ba0f0f09e84f7305560c70b76",
"reference": "01e2bea38f9c5e7ba0f0f09e84f7305560c70b76",
"shasum": "",
"mirrors": [
{
@ -426,7 +426,7 @@
"qiniu/php-sdk": "^7.2",
"topthink/framework": "5.1.*"
},
"time": "2020-01-08T02:36:12+00:00",
"time": "2020-01-09T02:58:35+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {

View File

@ -91,8 +91,8 @@ class WorkQueue extends Command
}
} else {
// 自定义指令,不支持返回消息(支持异常结束,异常码可选择 3|4 设置任务状态)
$attr = explode(' ', trim(preg_replace('|\s+|', ' ', $queue['command'])));
$this->update('3', Console::call(array_shift($attr), $attr, 'console'));
$attr = explode(' ', trim(preg_replace('|\s+|', ' ', $queue['preload'])));
$this->update('3', Console::call(array_shift($attr), $attr)->fetch());
}
}
} catch (\Exception $e) {