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