修改子管理员问题

This commit is contained in:
evoxwht 2021-03-30 18:02:52 +08:00
parent 0860ed80f4
commit 5ef2af8c55

View File

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