Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -46,6 +46,7 @@ class Index extends Common | @@ -46,6 +46,7 @@ class Index extends Common | ||
| 46 | //查询分组情况 | 46 | //查询分组情况 |
| 47 | $admin_info = db('admin')->field('group_id')->where('admin_id='.$_SESSION['think']['aid'])->select(); | 47 | $admin_info = db('admin')->field('group_id')->where('admin_id='.$_SESSION['think']['aid'])->select(); |
| 48 | $url_address = in_array($admin_info[0]['group_id'],array(1,2,4,5)) ? url('main') : url('welcome'); | 48 | $url_address = in_array($admin_info[0]['group_id'],array(1,2,4,5)) ? url('main') : url('welcome'); |
| 49 | + echo $url_address;die; | ||
| 49 | //非内部人员 跳转其他页面 | 50 | //非内部人员 跳转其他页面 |
| 50 | $this->assign('url_address',$url_address); | 51 | $this->assign('url_address',$url_address); |
| 51 | $this->assign('menus',json_encode($menus,true)); | 52 | $this->assign('menus',json_encode($menus,true)); |
-
Please register or login to post a comment