mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 05:52:43 +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()
|
||||
{
|
||||
$input = $this->_vali(['code.require' => '任务编号不能为空!']);
|
||||
$result = QueueService::instance()->initialize($input['code'])->progress();
|
||||
$this->success('获取任务进度成功!', $result);
|
||||
$queue = QueueService::instance()->initialize($input['code']);
|
||||
$this->success('获取任务进度成功!', $queue->progress());
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user