/** * 管理员退出 */ public function logout() { Auth::logout(); // $this->success('退出登陆!',U('login')); $this->redirect('Index/login'); }