From 4b81e72cff7a3acfde2cca919bd8e173355bc53c Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 25 Nov 2019 18:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20pay=20=E9=80=80=E6=AC=BE?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Pay.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WeChat/Pay.php b/WeChat/Pay.php index 3e3fbad..dcc87ce 100644 --- a/WeChat/Pay.php +++ b/WeChat/Pay.php @@ -18,6 +18,7 @@ use WeChat\Contracts\BasicWePay; use WeChat\Exceptions\InvalidResponseException; use WePay\Bill; use WePay\Order; +use WePay\Refund; use WePay\Transfers; use WePay\TransfersBank; @@ -116,7 +117,7 @@ class Pay extends BasicWePay */ 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) { - return Order::instance($this->config->get())->query($options); + return Refund::instance($this->config->get())->query($options); } /**