作者 sgj
1 个管道 的构建 通过 耗费 2 秒

add the user balance

@@ -46,6 +46,7 @@ class WeixinPay { @@ -46,6 +46,7 @@ class WeixinPay {
46 $parameters['sign'] = $this->getSign($parameters); 46 $parameters['sign'] = $this->getSign($parameters);
47 $xmlData = $this->arrayToXml($parameters); 47 $xmlData = $this->arrayToXml($parameters);
48 $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60)); 48 $return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60));
  49 + dump($return);
49 return $return; 50 return $return;
50 } 51 }
51 private static function postXmlCurl($xml, $url, $second = 30) 52 private static function postXmlCurl($xml, $url, $second = 30)