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