wx pay debug
parent
c0fc138a73
commit
befa1a303c
|
|
@ -699,9 +699,9 @@ class Weixin
|
|||
//设置证书
|
||||
//使用证书:cert 与 key 分别属于两个.pem文件
|
||||
$options[CURLOPT_SSLCERTTYPE] = 'PEM';
|
||||
$options[CURLOPT_SSLCERT] = ROOT.'cert/apiclient_cert.pem';
|
||||
$options[CURLOPT_SSLCERT] = '/www/wwwroot/test.shopxo.net/shopxo/cert/apiclient_cert.pem';
|
||||
$options[CURLOPT_SSLKEYTYPE] = 'PEM';
|
||||
$options[CURLOPT_SSLKEY] = ROOT.'cert/apiclient_key.pem';
|
||||
$options[CURLOPT_SSLKEY] = '/www/wwwroot/test.shopxo.net/shopxo/cert/apiclient_key.pem';
|
||||
}
|
||||
|
||||
$ch = curl_init($url);
|
||||
|
|
|
|||
Loading…
Reference in New Issue