fix: 修复权限前端逻辑

This commit is contained in:
Ying
2022-08-29 10:55:15 +08:00
parent dba6f81dfc
commit 7ce0e91d96
9 changed files with 229 additions and 238 deletions

View File

@@ -106,19 +106,6 @@ class AdminGroup extends AdminController
}
}
/**
* 权限函数接口
* @access public
* @return mixed|array
*/
public function getRuleCateTree()
{
if (request()->isAjax()) {
$type = input('type') ?? 'rules';
return $this->auth->getRuleCatesTree($type, $this->auth->authGroup);
}
}
/**
* 更新权限
*/