mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
修正 pay 退款调用别名
This commit is contained in:
parent
39d53dd910
commit
4b81e72cff
@ -18,6 +18,7 @@ use WeChat\Contracts\BasicWePay;
|
|||||||
use WeChat\Exceptions\InvalidResponseException;
|
use WeChat\Exceptions\InvalidResponseException;
|
||||||
use WePay\Bill;
|
use WePay\Bill;
|
||||||
use WePay\Order;
|
use WePay\Order;
|
||||||
|
use WePay\Refund;
|
||||||
use WePay\Transfers;
|
use WePay\Transfers;
|
||||||
use WePay\TransfersBank;
|
use WePay\TransfersBank;
|
||||||
|
|
||||||
@ -116,7 +117,7 @@ class Pay extends BasicWePay
|
|||||||
*/
|
*/
|
||||||
public function createRefund(array $options)
|
public function createRefund(array $options)
|
||||||
{
|
{
|
||||||
return Order::instance($this->config->get())->create($options);
|
return Refund::instance($this->config->get())->create($options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -128,7 +129,7 @@ class Pay extends BasicWePay
|
|||||||
*/
|
*/
|
||||||
public function queryRefund(array $options)
|
public function queryRefund(array $options)
|
||||||
{
|
{
|
||||||
return Order::instance($this->config->get())->query($options);
|
return Refund::instance($this->config->get())->query($options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user