feat : oss

This commit is contained in:
2024-11-12 11:19:40 +08:00
parent 9823cf4ee4
commit 1fa2e83822

View File

@@ -38,8 +38,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()),
'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
'admin', 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
default => null,
};