diff --git a/.env b/.env index 275b2c6..be69d69 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ APP_NAME=hyperf-data APP_ENV=prod DB_DRIVER=mysql -DB_HOST=localhost +DB_HOST=192.168.28.199 DB_PORT=3306 DB_DATABASE=dhd_official DB_USERNAME=dhd_official @@ -19,7 +19,7 @@ REDIS_DB=0 JSON_RPC_HOST=0.0.0.0 JSON_RPC_PORT=9666 -NACOS_HOST=192.168.28.120 +NACOS_HOST=192.168.28.218 NACOS_PORT=8848 # NACOS_USERNAME=nacos # NACOS_PASSWORD=nacos diff --git a/composer.lock b/composer.lock index 5d7ea4a..7d20ef9 100644 --- a/composer.lock +++ b/composer.lock @@ -12,7 +12,7 @@ "source": { "type": "git", "url": "https://gitee.com/devAether666/aether-hyperf.git", - "reference": "54e6f072f44403f5746090db89afda9d248bc8a6" + "reference": "b01e07101e6a4ee1f6f6d6e6496961c47f34d663" }, "require": { "hyperf/db-connection": "~3.1.0", @@ -52,7 +52,7 @@ } ], "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", @@ -129,7 +129,11 @@ "source": { "type": "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, "type": "library", @@ -153,7 +157,7 @@ } ], "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", diff --git a/config/autoload/middlewares.php b/config/autoload/middlewares.php index 966b3ba..cfea24a 100644 --- a/config/autoload/middlewares.php +++ b/config/autoload/middlewares.php @@ -1,6 +1,7 @@ [ RequestId::class, // JsonRpcExceptionHandler::class, + // ApiExceptionHandler::class, ], ];