mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
修改子管理员问题
This commit is contained in:
parent
0860ed80f4
commit
5ef2af8c55
@ -61,7 +61,7 @@ class AuthController extends SystemBasic
|
||||
if ($module === null) $module = app('http')->getName();
|
||||
if ($controller === null) $controller = $this->request->controller();
|
||||
if ($action === null) $action = $this->request->action();
|
||||
if (!count($route)) $route = $this->request->param();
|
||||
if (!count($route)) $route = $this->request->route();
|
||||
array_shift($route);
|
||||
if (in_array(strtolower($controller), $this->skipLogController, true)) return true;
|
||||
$nowAuthName = SystemMenus::getAuthName($action, $controller, $module, $route);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user