Commit 5ef2af8c authored by evoxwht's avatar evoxwht
Browse files

修改子管理员问题

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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);
......
Supports Markdown
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