@@ -146,6 +146,7 @@ class Common_util_pub
*/
public function xmlToArray($xml)
{
+ var_dump($xml);exit;
//将XML转为array
$array_data = json_decode(json_encode(simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA)), true);
return $array_data;
@@ -488,9 +489,7 @@ class Refund_pub extends Wxpay_client_pub
function getResult()
$this->postXmlSSL();
- echo 11;
$this->result = $this->xmlToArray($this->response);
- echo 2222;exit;
return $this->result;
}