优化菜单显示
This commit is contained in:
1 parent
62f362e199
commit
6fa31ab3eb
2 files changed
+12
-12
No files matched your search
@@ -38,7 +38,7 @@ class Index extends Base
|
||||
// 获取用户名
|
||||
$list->username = session('username');
|
||||
|
||||
// 查询拥有的权限
|
||||
// 查询用户拥有的权限
|
||||
$admin = new \app\admin\model\Admin;
|
||||
$admininfo = $admin->where('id',session('userid'))
|
||||
->field('id')
|
||||
|
||||
Reference in new issue
Block a user