This commit is contained in:
Aether
2025-10-15 15:16:25 +08:00
parent 8f6d28162d
commit 0532bcba4b
3 changed files with 12 additions and 6 deletions

4
.env
View File

@@ -2,7 +2,7 @@ APP_NAME=hyperf-data
APP_ENV=prod APP_ENV=prod
DB_DRIVER=mysql DB_DRIVER=mysql
DB_HOST=localhost DB_HOST=192.168.28.199
DB_PORT=3306 DB_PORT=3306
DB_DATABASE=dhd_official DB_DATABASE=dhd_official
DB_USERNAME=dhd_official DB_USERNAME=dhd_official
@@ -19,7 +19,7 @@ REDIS_DB=0
JSON_RPC_HOST=0.0.0.0 JSON_RPC_HOST=0.0.0.0
JSON_RPC_PORT=9666 JSON_RPC_PORT=9666
NACOS_HOST=192.168.28.120 NACOS_HOST=192.168.28.218
NACOS_PORT=8848 NACOS_PORT=8848
# NACOS_USERNAME=nacos # NACOS_USERNAME=nacos
# NACOS_PASSWORD=nacos # NACOS_PASSWORD=nacos

12
composer.lock generated
View File

@@ -12,7 +12,7 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://gitee.com/devAether666/aether-hyperf.git", "url": "https://gitee.com/devAether666/aether-hyperf.git",
"reference": "54e6f072f44403f5746090db89afda9d248bc8a6" "reference": "b01e07101e6a4ee1f6f6d6e6496961c47f34d663"
}, },
"require": { "require": {
"hyperf/db-connection": "~3.1.0", "hyperf/db-connection": "~3.1.0",
@@ -52,7 +52,7 @@
} }
], ],
"description": "Aether Hyperf Common Components", "description": "Aether Hyperf Common Components",
"time": "2025-10-11T01:19:19+00:00" "time": "2025-10-15T06:26:58+00:00"
}, },
{ {
"name": "carbonphp/carbon-doctrine-types", "name": "carbonphp/carbon-doctrine-types",
@@ -129,7 +129,11 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://gitee.com/devAether666/dhd-contract.git", "url": "https://gitee.com/devAether666/dhd-contract.git",
"reference": "732a6b8477f14b7c21d772f1362db3f6dc905ff7" "reference": "3ea8fcdd7efd083fba689c7b191e60078a772e53"
},
"require": {
"hyperf/database": "~3.1.0",
"php": ">=8.1"
}, },
"default-branch": true, "default-branch": true,
"type": "library", "type": "library",
@@ -153,7 +157,7 @@
} }
], ],
"description": "DHD Micro Service Contract Package", "description": "DHD Micro Service Contract Package",
"time": "2025-10-11T01:13:15+00:00" "time": "2025-10-14T01:32:08+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",

View File

@@ -1,6 +1,7 @@
<?php <?php
declare(strict_types=1); declare(strict_types=1);
use Aether\Exception\Handler\ApiExceptionHandler;
use Aether\Exception\Handler\JsonRpcExceptionHandler; use Aether\Exception\Handler\JsonRpcExceptionHandler;
use Aether\Middleware\RequestId; use Aether\Middleware\RequestId;
@@ -19,5 +20,6 @@ return [
'jsonrpc-http' => [ 'jsonrpc-http' => [
RequestId::class, RequestId::class,
// JsonRpcExceptionHandler::class, // JsonRpcExceptionHandler::class,
// ApiExceptionHandler::class,
], ],
]; ];