mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新]修正接口描述信息
This commit is contained in:
parent
f3f833cd9f
commit
e0552c87dc
@ -17,7 +17,7 @@ namespace WeChat\Contracts;
|
|||||||
use ArrayAccess;
|
use ArrayAccess;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Config
|
* Class DataArray
|
||||||
* @package WeChat
|
* @package WeChat
|
||||||
*/
|
*/
|
||||||
class DataArray implements ArrayAccess
|
class DataArray implements ArrayAccess
|
||||||
|
@ -230,7 +230,7 @@ class Tools
|
|||||||
curl_setopt($curl, CURLOPT_SSLCERTTYPE, 'PEM');
|
curl_setopt($curl, CURLOPT_SSLCERTTYPE, 'PEM');
|
||||||
curl_setopt($curl, CURLOPT_SSLCERT, $options['ssl_cer']);
|
curl_setopt($curl, CURLOPT_SSLCERT, $options['ssl_cer']);
|
||||||
} else {
|
} else {
|
||||||
throw new InvalidArgumentException("Certificate files that do not exist. --- [{$options['ssl_cer']}]");
|
throw new InvalidArgumentException("Certificate files that do not exist. --- [ssl_cer]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 证书文件设置
|
// 证书文件设置
|
||||||
@ -239,7 +239,7 @@ class Tools
|
|||||||
curl_setopt($curl, CURLOPT_SSLKEYTYPE, 'PEM');
|
curl_setopt($curl, CURLOPT_SSLKEYTYPE, 'PEM');
|
||||||
curl_setopt($curl, CURLOPT_SSLKEY, $options['ssl_key']);
|
curl_setopt($curl, CURLOPT_SSLKEY, $options['ssl_key']);
|
||||||
} else {
|
} else {
|
||||||
throw new InvalidArgumentException("Certificate files that do not exist. --- [{$options['ssl_key']}]");
|
throw new InvalidArgumentException("Certificate files that do not exist. --- [ssl_key]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
curl_setopt($curl, CURLOPT_URL, $url);
|
curl_setopt($curl, CURLOPT_URL, $url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user