mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +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()) {
|
||||
sysoplog('系统运维管理', '创建数据库优化任务');
|
||||
$this->_queue('优化数据库所有数据表', 'xadmin:database optimize', 0, [], 0, 0);
|
||||
$this->_queue('优化数据库所有数据表', 'xadmin:database optimize');
|
||||
} else {
|
||||
$this->error('只有超级管理员才能操作!');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user