@@ -55,6 +55,17 @@ class Queue extends Controller
}
/**
+ * 重启系统任务
+ * @auth true
+ * @throws \think\Exception
+ * @throws \think\exception\PDOException
+ */
+ public function redo()
+ {
+ $this->_save($this->table, ['status' => '1']);
+ }
+
+ /**
* 删除系统任务
* @auth true
* @throws \think\Exception
@@ -64,7 +64,7 @@
</a>
{/if}
<br>
- 状态描述:<span class="color-desc">{$vo.status_desc|raw|default="没有获取到状态描述"}</span>
+ 状态描述:<span class="color-desc">{$vo.desc|raw|default="没有获取到状态描述"}</span>
</td>
</tr>
{/foreach}