This commit is contained in:
2020-10-30 12:28:38 +08:00
parent b7fd0d6cd2
commit 00ea41b440
+1 -1
View File
@@ -42,7 +42,7 @@ class HttpParams
$this->gets = $get ?? [];
$this->files = $files ?? [];
if (!is_array($body)) {
$this->body = Help::toArray($this->body);
$this->body = Help::toArray($body);
} else {
$this->body = $body;
}