改名
This commit is contained in:
@@ -18,6 +18,7 @@ class Parse
|
|||||||
if (str_contains($contentType, 'json')) {
|
if (str_contains($contentType, 'json')) {
|
||||||
return json_encode($content);
|
return json_encode($content);
|
||||||
}
|
}
|
||||||
|
var_dump($contentType);
|
||||||
if (str_contains($contentType, 'xml')) {
|
if (str_contains($contentType, 'xml')) {
|
||||||
return Xml::toArray($content);
|
return Xml::toArray($content);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user