nan.zhang 4 jaren geleden
bovenliggende
commit
da683857d7
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      application/index/service/wechat/WxPayPubHelper.php

+ 1 - 2
application/index/service/wechat/WxPayPubHelper.php

@@ -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;
     }