From fa5f262fe3413b310bf4243be58c6ec6da9e0e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=81=E7=81=AB=E8=A1=8C=E8=80=85?= Date: Tue, 31 Aug 2021 15:07:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Base/DzqController.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Base/DzqController.php b/src/Base/DzqController.php index 392dd9e..80ca6d6 100644 --- a/src/Base/DzqController.php +++ b/src/Base/DzqController.php @@ -56,13 +56,7 @@ abstract class DzqController implements RequestHandlerInterface { $this->request = $request; $this->queryParams = $request->getQueryParams(); - $this->specialParamsChars($this->queryParams); - $postBody = $request->getParsedBody(); - if (!empty($postBody)) { - $this->parseBody = $postBody->toArray(); - $this->specialParamsChars($this->parseBody); - } - + $this->parseBody = $request->getParsedBody(); $this->requestId = Str::uuid(); $this->requestTime = date('Y-m-d H:i:s'); $this->app = app(); -- Gitee