mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 优化初始化数据
This commit is contained in:
parent
3cfffb7ed5
commit
143b10b891
@ -34,5 +34,6 @@ class UpdateAdminMenuData extends Migrator {
|
||||
$this->execute('UPDATE `admin_menu` SET `auth` = 1 WHERE `url` != "admin/Login/index";');
|
||||
$this->execute('UPDATE `admin_menu` SET `permission` = 0 WHERE `url` = "admin/Login/index" OR `url` = "admin/Login/logout";');
|
||||
$this->execute('UPDATE `admin_menu` SET `method` = 2 WHERE `url` = "admin/Login/index" OR `url` LIKE "%/upload" OR `url` LIKE "%/add" OR `url` LIKE "%/edit%";');
|
||||
$this->execute('UPDATE `admin_menu` SET `log` = 0 WHERE `url` = "admin/Login/index";');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user