This commit is contained in:
2020-11-19 14:28:33 +08:00
parent ed3ae404f1
commit 9337685e45
+1 -1
View File
@@ -41,8 +41,8 @@ class HttpParams
$this->gets = $get ?? [];
$this->files = $files ?? [];
if (!is_array($body)) {
var_dump($body);
$this->body = Help::toArray($body);
var_dump($this->body);
} else {
$this->body = $body ?? [];
}