From 91c58254aa8ef65881c3966334520a5c1c619d5e Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Tue, 12 Nov 2024 11:17:33 +0800 Subject: [PATCH] feat : oss --- app/Exception/Handler/ErrExceptionHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Exception/Handler/ErrExceptionHandler.php b/app/Exception/Handler/ErrExceptionHandler.php index 75229b5..6e56901 100644 --- a/app/Exception/Handler/ErrExceptionHandler.php +++ b/app/Exception/Handler/ErrExceptionHandler.php @@ -39,6 +39,7 @@ class ErrExceptionHandler extends ExceptionHandler $result = match ($urlArr[0]) { 'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()), 'admin' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()), + 'error' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()), default => null, };