From d682b72735ce94da6fd1b27804ecd86ebae0eba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 14:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-message/Parse.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/http-message/Parse.php b/http-message/Parse.php index 89e8eee4..5a2cacd5 100644 --- a/http-message/Parse.php +++ b/http-message/Parse.php @@ -29,8 +29,7 @@ class Parse if (str_contains($contentType, 'serialize')) { return unserialize($content); } - echo $content; - return json_encode(urldecode($content), true); + return json_decode($content, true); } }