Commit 51f507bb by 杨树贤

权限提示

parent 659e5f5c
Showing with 1 additions and 1 deletions
...@@ -33,7 +33,7 @@ class Permission ...@@ -33,7 +33,7 @@ class Permission
$menus = !in_array($request->user->userId, $permData['admin_group']) ? $menus = !in_array($request->user->userId, $permData['admin_group']) ?
$this->menu($menuData, $request->user->userId) : $menuData; $this->menu($menuData, $request->user->userId) : $menuData;
if (empty($menus)) { if (empty($menus)) {
echo '没有访问权限'; echo '菜单生成错误,请联系技术';
} }
$request->menus = $menus; $request->menus = $menus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment