feat : dispense

This commit is contained in:
2025-03-10 09:43:27 +08:00
parent 8fbdc65eaa
commit 1992a1e55b
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class ErrExceptionHandler extends ExceptionHandler
$urlArr = explode('/',$this->request->path());
$result = match ($urlArr[0]) {
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
'admin', 'common', 'web' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
'admin', 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
default => null,
};