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
8709a91849
commit
de0425757d
@ -57,16 +57,6 @@ class Queue extends Controller
|
|||||||
$query->like('title,command')->equal('status')->order('id desc')->page();
|
$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
|
* @auth true
|
||||||
@ -118,4 +108,14 @@ class Queue extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除系统任务
|
||||||
|
* @auth true
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
*/
|
||||||
|
public function remove()
|
||||||
|
{
|
||||||
|
$this->_delete($this->table);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user