From f01d11d02bd8c7e053bdd074cc0d4373b234609e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=AE=85=E7=94=B7=28YznCMS=E5=AE=98=E6=96=B9=29?= <530765310@qq.com> Date: Fri, 27 Sep 2024 05:33:05 +0000 Subject: [PATCH] =?UTF-8?q?update=20application/admin/controller/auth/Admi?= =?UTF-8?q?nlog.php.=20=E5=88=A0=E9=99=A4=E6=AE=8B=E7=95=99=E7=9A=84?= =?UTF-8?q?=E6=97=A7=E7=9A=84=E5=86=97=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com> --- application/admin/controller/auth/Adminlog.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/application/admin/controller/auth/Adminlog.php b/application/admin/controller/auth/Adminlog.php index 1d8cc810..67ec10b1 100644 --- a/application/admin/controller/auth/Adminlog.php +++ b/application/admin/controller/auth/Adminlog.php @@ -18,21 +18,13 @@ class Adminlog extends Backend * @var \app\admin\model\AdminLog */ protected $model = null; - protected $childrenGroupIds = []; protected $childrenAdminIds = []; public function _initialize() { parent::_initialize(); $this->model = model('AdminLog'); - $this->childrenAdminIds = $this->auth->getChildrenAdminIds(true); - $this->childrenGroupIds = $this->auth->getChildrenGroupIds(true); - - $groupName = AuthGroup::where('id', 'in', $this->childrenGroupIds) - ->column('id,name'); - - $this->view->assign('groupdata', $groupName); } /**