This commit is contained in:
2021-03-23 18:30:44 +08:00
parent fedfb9b181
commit c9e977e145
+1 -1
View File
@@ -118,7 +118,7 @@ class HttpParams
*/ */
public function getBodyAndClear(): mixed public function getBodyAndClear(): mixed
{ {
$data = $this->body; $data = $this->body['body'];
$this->clearBody(); $this->clearBody();
return $data; return $data;
} }