From 8fd8b23e1e97201933d7ff48a46447f111d382f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=81=E9=BE=8D?= <695798354@qq.com> Date: Thu, 3 Dec 2020 10:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E5=A4=8DHttp=E7=B1=BBpost=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E4=BC=A0=E8=BE=93=E9=9D=9E1=E7=BB=B4=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/fast/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/fast/Http.php b/extend/fast/Http.php index 81f2b1758..a0dfef7df 100644 --- a/extend/fast/Http.php +++ b/extend/fast/Http.php @@ -60,7 +60,7 @@ class Http } else { $defaults[CURLOPT_CUSTOMREQUEST] = $method; } - $defaults[CURLOPT_POSTFIELDS] = $params; + $defaults[CURLOPT_POSTFIELDS] = http_build_query($params); } $defaults[CURLOPT_HEADER] = false; -- Gitee