|
@@ -198,6 +198,7 @@ class Common_util_pub
|
|
|
*/
|
|
|
function postXmlSSLCurl($xml,$url,$second=30)
|
|
|
{
|
|
|
+ var_dump(WxPayConfig::$SSLCERT_PATH);exit;
|
|
|
$ch = curl_init();
|
|
|
//超时时间
|
|
|
curl_setopt($ch,CURLOPT_TIMEOUT,$second);
|
|
@@ -297,9 +298,7 @@ class Wxpay_client_pub extends Common_util_pub
|
|
|
function postXmlSSL()
|
|
|
{
|
|
|
$xml = $this->createXml();
|
|
|
- var_dump($xml);
|
|
|
$this->response = $this->postXmlSSLCurl($xml,$this->url,$this->curl_timeout);
|
|
|
- var_dump($this->response);exit;
|
|
|
return $this->response;
|
|
|
}
|
|
|
|