function redirect() { $this->http->redirect('http://www.baidu.com'); $_SESSION['hello'] = 'swoole'; }