From c403c35633382fd0363c3984467b2c04eabed0b7 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sun, 8 Jan 2023 20:21:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ThinkPHP/Library/Org/Kudian/Response.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThinkPHP/Library/Org/Kudian/Response.class.php b/ThinkPHP/Library/Org/Kudian/Response.class.php index 1ac85df..376d7a7 100644 --- a/ThinkPHP/Library/Org/Kudian/Response.class.php +++ b/ThinkPHP/Library/Org/Kudian/Response.class.php @@ -28,7 +28,7 @@ class Response $data = $response; } else { Log::write('RESPONSE_STR: ' . $response); - $data = json_decode($response); + $data = json_decode($response, true); } if (!$data) { $data = [