diff --git a/app/admin/middleware/Auth.php b/app/admin/middleware/Auth.php index 6d3663c..601748b 100644 --- a/app/admin/middleware/Auth.php +++ b/app/admin/middleware/Auth.php @@ -37,10 +37,10 @@ class Auth exit; } } - + $uid = Session::get($session_admin)['id']; // 验证用户访问权限 if ($action !== 'index' && $action !== 'api') { - if (!$this->checkAuth($controller, $pathInfo, $action, Session::get($session_admin)['id'])) { + if (!$this->checkAuth($controller, $pathInfo, $action, $uid)) { if ($request->isAjax()) { return to_assign(202, '你没有权限,请联系超级管理员!'); } else { diff --git a/app/home/view/index/logs.html b/app/home/view/index/logs.html index 3ebd086..3c5acd1 100644 --- a/app/home/view/index/logs.html +++ b/app/home/view/index/logs.html @@ -11,6 +11,57 @@
++勾股CMS3.0版本正式发布,改头换面
+