function http_header() { $this->http->status(302); $this->http->header('Location', 'http://www.baidu.com'); $_SESSION['hello'] = 'swoole'; }