|
@@ -21,7 +21,8 @@ class Base extends Common
|
|
|
$this->redirect(url('User/login'));
|
|
|
}
|
|
|
//权限验证
|
|
|
- $this->aid=$aid;
|
|
|
+ $this->aid = $aid;
|
|
|
+ $this->assign('user_id',$aid);
|
|
|
$request=Request::instance();
|
|
|
// if (!authCheck($request->module(),$request->controller(),$request->action(),$this->aid)) {
|
|
|
// $this->error('你没有权限!');
|