mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-27 20:06:37 +08:00
Update Plugs.php
This commit is contained in:
parent
b89118feb7
commit
b3a56159a0
@ -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('只有超级管理员才能操作!');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user