Update Plugs.php

This commit is contained in:
邹景立 2021-01-29 16:29:54 +08:00
parent b89118feb7
commit b3a56159a0

View File

@ -66,7 +66,7 @@ class Plugs extends Controller
{ {
if (AdminService::instance()->isSuper()) { if (AdminService::instance()->isSuper()) {
sysoplog('系统运维管理', '创建数据库优化任务'); sysoplog('系统运维管理', '创建数据库优化任务');
$this->_queue('优化数据库所有数据表', 'xadmin:database optimize', 0, [], 0, 0); $this->_queue('优化数据库所有数据表', 'xadmin:database optimize');
} else { } else {
$this->error('只有超级管理员才能操作!'); $this->error('只有超级管理员才能操作!');
} }