This commit is contained in:
gongfuxiang 2018-10-23 01:53:11 +08:00
parent 9e2f84b675
commit 187f50fb9e

View File

@ -56,7 +56,7 @@ class AlipayLife
libxml_disable_entity_loader(true); libxml_disable_entity_loader(true);
$xml_string = simplexml_load_string($xml,'SimpleXMLElement', LIBXML_NOCDATA); $xml_string = simplexml_load_string($xml,'SimpleXMLElement', LIBXML_NOCDATA);
} }
$result = json_decode(json_encode($xml_string),true); //$result = json_decode(json_encode($xml_string),true);
return $result; return $result;
} }