Commit 79880516 by 冷斌

fix bug

parent 5ea6d63c
...@@ -143,12 +143,9 @@ class UserGroupAction extends AdministratorAction ...@@ -143,12 +143,9 @@ class UserGroupAction extends AdministratorAction
$map['id'] = ['in', '233,236,276']; $map['id'] = ['in', '233,236,276'];
} }
$map['id'] = ['not in', ' 17,21,22']; $map['id'] = ['not in', ' 17,21,22,3,101,102,103,104,105,109,110,111,112,113,114,115,116,117,118'];
$result = M('permission_node')->where($map)->order('id ASC')->findAll(); $result = M('permission_node')->where($map)->order('id ASC')->findAll();
$list = []; $list = [];
$except = [
17,21,22,
];
if ($result) { if ($result) {
foreach ($result as $key => $value) { foreach ($result as $key => $value) {
$list[$key]['checkboxValue'] = $value['id']; $list[$key]['checkboxValue'] = $value['id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment