改名
This commit is contained in:
@@ -79,6 +79,7 @@ class ServerRequest extends Request implements ServerRequestInterface
|
|||||||
->withParsedBody(function (StreamInterface $stream, ?array $posts) {
|
->withParsedBody(function (StreamInterface $stream, ?array $posts) {
|
||||||
try {
|
try {
|
||||||
$content = $stream->getContents();
|
$content = $stream->getContents();
|
||||||
|
var_dump($content, $posts);
|
||||||
if (!empty($content)) {
|
if (!empty($content)) {
|
||||||
return Parse::data($content, $this->getContentType());
|
return Parse::data($content, $this->getContentType());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user