mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Queue.php
This commit is contained in:
parent
1104f1096a
commit
d78bf240d9
@ -36,8 +36,8 @@ class Queue extends Controller
|
|||||||
public function progress()
|
public function progress()
|
||||||
{
|
{
|
||||||
$input = $this->_vali(['code.require' => '任务编号不能为空!']);
|
$input = $this->_vali(['code.require' => '任务编号不能为空!']);
|
||||||
$result = QueueService::instance()->initialize($input['code'])->progress();
|
$queue = QueueService::instance()->initialize($input['code']);
|
||||||
$this->success('获取任务进度成功!', $result);
|
$this->success('获取任务进度成功!', $queue->progress());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user