Login ( $username, $password, $verify ); dump ( $te ); $this->display (); } } /* 退出登录 */ public function Logout() { if (is_login ()) { session ( 'user', null ); session ( '[destroy]' ); $this->success ( '退出成功!', U ( 'login' ) ); } else { $this->redirect ( 'login' ); } } }