权限节点的更新

This commit is contained in:
2018-05-08 14:07:16 +08:00
parent 9341b140a9
commit 74c83cb725
12 changed files with 410 additions and 109 deletions

View File

@@ -130,8 +130,8 @@ class Group extends Admin {
//根据菜单更新节点
public function upnode($type) {
$rule = model('Menu')->getAuthNodes($type);
$reuslt = $this->rule->uprule($rule, $type);
//$rule = model('Menu')->getAuthNodes($type);
$reuslt = $this->rule->uprule($type);
return $this->success("更新成功!");
}