Merge pull request '新增权限审核' (#175) from feature/finance_payment_20210115 into release

新增权限审核
master
陈志 4 years ago
commit e278c9de76

@ -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;

Loading…
Cancel
Save