[更新]修复微信证书配置问题

This commit is contained in:
Anyon 2018-05-09 12:22:21 +08:00
parent a0c5263fd7
commit 011e460872

View File

@ -300,7 +300,7 @@ class Pay
$option = [];
if ($isCert) {
foreach (['ssl_cer', 'ssl_key'] as $key) {
if (empty($options[$key])) {
if (empty($option[$key])) {
throw new InvalidArgumentException("Missing Config -- [{$key}]", '0');
}
}