This commit is contained in:
2021-09-10 13:58:29 +08:00
parent 6bbd25d132
commit 4d670018f2
+1
View File
@@ -18,6 +18,7 @@ class Parse
if (str_contains($contentType, 'json')) {
return json_encode($content);
}
var_dump($contentType);
if (str_contains($contentType, 'xml')) {
return Xml::toArray($content);
}