diff --git a/app/admin/controller/Queue.php b/app/admin/controller/Queue.php index 576efa130..753d578bf 100644 --- a/app/admin/controller/Queue.php +++ b/app/admin/controller/Queue.php @@ -57,16 +57,6 @@ class Queue extends Controller $query->like('title,command')->equal('status')->order('id desc')->page(); } - /** - * 删除系统任务 - * @auth true - * @throws \think\db\exception\DbException - */ - public function remove() - { - $this->_delete($this->table); - } - /** * 重启系统任务 * @auth true @@ -118,4 +108,14 @@ class Queue extends Controller } } + /** + * 删除系统任务 + * @auth true + * @throws \think\db\exception\DbException + */ + public function remove() + { + $this->_delete($this->table); + } + } \ No newline at end of file