This commit is contained in:
2020-11-18 14:58:00 +08:00
parent 7e4aa62593
commit 1cf754d53e
+3 -1
View File
@@ -603,7 +603,9 @@ abstract class ClientAbstracts extends Component implements IClient
if (!is_null($json = JSON::decode($body))) { if (!is_null($json = JSON::decode($body))) {
return $json; return $json;
} }
return Help::toArray($body); if (!is_null($json = Help::toArray($body))) {
return $json;
}
} }
return $body; return $body;
} }