mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-05 06:25:29 +08:00
完善think\exception\Handle类
This commit is contained in:
@@ -165,7 +165,7 @@ class Handle
|
||||
|
||||
if ($exception instanceof HttpException) {
|
||||
$statusCode = $exception->getStatusCode();
|
||||
//TODO 设置headers 等待response完善
|
||||
$response->header($exception->getHeaders());
|
||||
}
|
||||
|
||||
if (!isset($statusCode)) {
|
||||
|
||||
Reference in New Issue
Block a user