From 12f84844c4249d967524ac2ad2cf542e34061ed6 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Sat, 27 Feb 2021 18:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9D=83=E9=99=90=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Common/function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Common/function.php b/Application/Admin/Common/function.php index 8c4e50d16..94890ef7a 100644 --- a/Application/Admin/Common/function.php +++ b/Application/Admin/Common/function.php @@ -981,7 +981,7 @@ function getModuleControllerAuth() { $group = $_SESSION['onethink_admin']['user_group_id']; //获取全部权限列表 - $ruleList = M("AuthGroup")->field("rules")->where("id='{$group}'")->find()['rules']; + $ruleList = SM("AuthGroup","sys_")->field("rules")->where("id='{$group}'")->find()['rules']; //获取所有含有规则的数据 $mc = MODULE_NAME."/".CONTROLLER_NAME;