Commit 66106251f1f55682f3cf2acc4b279852dc535ba4

Authored by pengye
1 parent 5208d25e

no message

... ... @@ -46,6 +46,7 @@ class Index extends Common
//查询分组情况
$admin_info = db('admin')->field('group_id')->where('admin_id='.$_SESSION['think']['aid'])->select();
$url_address = in_array($admin_info[0]['group_id'],array(1,2,4,5)) ? url('main') : url('welcome');
echo $url_address;die;
//非内部人员 跳转其他页面
$this->assign('url_address',$url_address);
$this->assign('menus',json_encode($menus,true));
... ...