abort()
abort(int|\Response $code, string $message = null, array $header = []) : mixed
抛出HTTP异常
Parameters
| int|\Response | $code | 状态码 或者 Response对象实例 | 
| string | $message | 错误信息 | 
| array | $header | 参数 | 
download(string $filename, string $name = '', bool $content = false, int $expire = 360, mixed $openinBrowser = false) : \think\response\Download
获取\think\response\Download对象实例
| string | $filename | 要下载的文件 | 
| string | $name | 显示文件名 | 
| bool | $content | 是否为内容 | 
| int | $expire | 有效期(秒) | 
| mixed | $openinBrowser |