数据中心的API调用和rpc调用整合

This commit is contained in:
阿不叮咚
2025-09-24 16:48:02 +08:00
parent 1f6b60ee0f
commit 8be88311d4
2 changed files with 6 additions and 8 deletions

View File

@@ -1,10 +1,7 @@
<?php
declare(strict_types=1);
use Aether\ApiExceptionHandler;
use Aether\Middleware\RequestId;
use Aether\RpcExceptionHandler;
/*
* This file is part of Hyperf.
@@ -17,10 +14,8 @@ use Aether\RpcExceptionHandler;
return [
'http' => [
ApiExceptionHandler::class,
],
'jsonrpc-http' => [
RequestId::class,
RpcExceptionHandler::class,
],
];