mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-21 22:39:16 +08:00
ComposerUpdate
This commit is contained in:
parent
8f90662a29
commit
d6f9508085
8
composer.lock
generated
8
composer.lock
generated
@ -909,12 +909,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "692d1f717a5010707d7bd4148d028602f0e3ba00"
|
||||
"reference": "1d4b617db91e31cbd02b81268651dd93f5b66e87"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/692d1f717a5010707d7bd4148d028602f0e3ba00",
|
||||
"reference": "692d1f717a5010707d7bd4148d028602f0e3ba00",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/1d4b617db91e31cbd02b81268651dd93f5b66e87",
|
||||
"reference": "1d4b617db91e31cbd02b81268651dd93f5b66e87",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -958,7 +958,7 @@
|
||||
],
|
||||
"description": "ThinkPHP v6.0 Development Library",
|
||||
"homepage": "http://framework.thinkadmin.top",
|
||||
"time": "2020-04-26T02:44:32+00:00"
|
||||
"time": "2020-04-26T06:36:23+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": "692d1f717a5010707d7bd4148d028602f0e3ba00"
|
||||
"reference": "1d4b617db91e31cbd02b81268651dd93f5b66e87"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/692d1f717a5010707d7bd4148d028602f0e3ba00",
|
||||
"reference": "692d1f717a5010707d7bd4148d028602f0e3ba00",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/1d4b617db91e31cbd02b81268651dd93f5b66e87",
|
||||
"reference": "1d4b617db91e31cbd02b81268651dd93f5b66e87",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -956,7 +956,7 @@
|
||||
"ext-json": "*",
|
||||
"topthink/framework": "^6.0"
|
||||
},
|
||||
"time": "2020-04-26T02:44:32+00:00",
|
||||
"time": "2020-04-26T06:36:23+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-26 11:29:22
|
||||
// This file is automatically generated at:2020-04-26 14:47:02
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\app\\Service',
|
||||
|
@ -289,7 +289,7 @@ abstract class Controller extends \stdClass
|
||||
* @param integer $rscript 任务类型(0单例,1多例)
|
||||
* @param integer $loops 循环等待时间
|
||||
*/
|
||||
protected function _queue($title, $command, $later = 0, $data = [], $rscript = 1, $loops = 0)
|
||||
protected function _queue($title, $command, $later = 0, $data = [], $rscript = 0, $loops = 0)
|
||||
{
|
||||
try {
|
||||
$queue = QueueService::instance()->register($title, $command, $later, $data, $rscript, $loops);
|
||||
|
@ -133,7 +133,7 @@ class QueueService extends Service
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function register($title, $command, $later = 0, $data = [], $rscript = 1, $loops = 0)
|
||||
public function register($title, $command, $later = 0, $data = [], $rscript = 0, $loops = 0)
|
||||
{
|
||||
$map = [['title', '=', $title], ['status', 'in', ['1', '2']]];
|
||||
if (empty($rscript) && ($queue = $this->app->db->name('SystemQueue')->where($map)->find())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user