ThinkPHP3.2.3 构造函数
public function _initialize(){
if(!$_SESSION['username']){
$this->error('请先登录',U('Admin/Login/index'));
}
}
public function _initialize(){
if(!$_SESSION['username']){
$this->error('请先登录',U('Admin/Login/index'));
}
}