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