1
0
mirror of https://gitee.com/zoujingli/WeChatDeveloper.git synced 2025-04-06 03:58:03 +08:00

Update Order.php

This commit is contained in:
Anyon 2020-12-21 15:46:33 +08:00
parent 25b47108ac
commit c7bc47a451

@ -48,7 +48,7 @@ class Order extends BasicWePay
'native' => '/v3/pay/transactions/native', 'native' => '/v3/pay/transactions/native',
]; ];
if (empty($types[$type])) { if (empty($types[$type])) {
throw new InvalidArgumentException("Payment {$type} not definded."); throw new InvalidArgumentException("Payment {$type} not defined.");
} else { } else {
return $this->doRequest('POST', $types[$type], $json, true); return $this->doRequest('POST', $types[$type], $json, true);
} }