|
|
@ -981,7 +981,7 @@ function getModuleControllerAuth()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$group = $_SESSION['onethink_admin']['user_group_id'];
|
|
|
|
$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;
|
|
|
|
$mc = MODULE_NAME."/".CONTROLLER_NAME;
|
|
|
|