feat: place order

This commit is contained in:
2025-01-23 16:56:24 +08:00
parent b2f96de226
commit aadcf6c661
11 changed files with 504 additions and 111 deletions

View File

@@ -35,7 +35,6 @@ class ErrExceptionHandler extends ExceptionHandler
{
if ($throwable instanceof ErrException) {
$urlArr = explode('/',$this->request->path());
var_dump($throwable);
$result = match ($urlArr[0]) {
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
'admin', 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),