mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新]修复微信证书配置问题
This commit is contained in:
parent
a0c5263fd7
commit
011e460872
@ -300,7 +300,7 @@ class Pay
|
|||||||
$option = [];
|
$option = [];
|
||||||
if ($isCert) {
|
if ($isCert) {
|
||||||
foreach (['ssl_cer', 'ssl_key'] as $key) {
|
foreach (['ssl_cer', 'ssl_key'] as $key) {
|
||||||
if (empty($options[$key])) {
|
if (empty($option[$key])) {
|
||||||
throw new InvalidArgumentException("Missing Config -- [{$key}]", '0');
|
throw new InvalidArgumentException("Missing Config -- [{$key}]", '0');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user