mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改系统任务
This commit is contained in:
parent
f258e2cccc
commit
dfb5be87e1
@ -54,6 +54,17 @@ class Queue extends Controller
|
|||||||
$query->like('title,preload')->equal('status')->order('id desc')->page();
|
$query->like('title,preload')->equal('status')->order('id desc')->page();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 重启系统任务
|
||||||
|
* @auth true
|
||||||
|
* @throws \think\Exception
|
||||||
|
* @throws \think\exception\PDOException
|
||||||
|
*/
|
||||||
|
public function redo()
|
||||||
|
{
|
||||||
|
$this->_save($this->table, ['status' => '1']);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除系统任务
|
* 删除系统任务
|
||||||
* @auth true
|
* @auth true
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
<br>
|
<br>
|
||||||
状态描述:<span class="color-desc">{$vo.status_desc|raw|default="没有获取到状态描述"}</span>
|
状态描述:<span class="color-desc">{$vo.desc|raw|default="没有获取到状态描述"}</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user