From 9823cf4ee4d3ef0d261ac7a30a12fd1641a5399c Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Tue, 12 Nov 2024 11:17:43 +0800 Subject: [PATCH] feat : oss --- app/Exception/Handler/ErrExceptionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exception/Handler/ErrExceptionHandler.php b/app/Exception/Handler/ErrExceptionHandler.php index 6e56901..c9e5042 100644 --- a/app/Exception/Handler/ErrExceptionHandler.php +++ b/app/Exception/Handler/ErrExceptionHandler.php @@ -39,7 +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()), + 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()), default => null, };