From aae930a16eace75543c121ec97cfa9d3353fa65d Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Thu, 27 Mar 2025 14:37:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E6=95=B0=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 3 ++- config/process.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 5a1a7ca..c937e0e 100644 --- a/.env.example +++ b/.env.example @@ -16,4 +16,5 @@ JWT_SECRET_KEY = 'Hj3$kLm8NpQrStUvXwZ1y2C4D6E8G' JWT_ALGORITHM = 'HS256' JWT_EXPIRATION = 2592000 -WEBMAN_LISTEN = 'http://0.0.0.0:9007' \ No newline at end of file +WEBMAN_LISTEN = 'http://0.0.0.0:9007' +WEBMAN_COUNT = 8 \ No newline at end of file diff --git a/config/process.php b/config/process.php index d093e40..ec13a9b 100644 --- a/config/process.php +++ b/config/process.php @@ -22,7 +22,7 @@ return [ 'webman' => [ 'handler' => Http::class, 'listen' => getenv('WEBMAN_LISTEN'), - 'count' => 8, + 'count' => getenv('WEBMAN_COUNT'), 'user' => '', 'group' => '', 'reusePort' => false, From d9f6ee8ea2c4f6b04b66392ce04f4ffc360fb471 Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Fri, 28 Mar 2025 13:32:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/FollowController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/FollowController.php b/app/controller/FollowController.php index c92e599..5e26ced 100644 --- a/app/controller/FollowController.php +++ b/app/controller/FollowController.php @@ -135,7 +135,7 @@ class FollowController 'picture'=>$picture, 'remark'=>Util::getParam($request,'remark',''), 'audio'=>Util::getParam($request,'audio',''), - 'audio_text'=>Util::getParam($request,'audio',''), + 'audio_text'=>Util::getParam($request,'audio_text',''), 'lat'=>Util::getParam($request,'lat',0), 'lng'=>Util::getParam($request,'lng',0), 'address'=>Util::getParam($request,'address'),