diff --git a/We.php b/We.php index 9b982cb..f7e23ff 100644 --- a/We.php +++ b/We.php @@ -57,7 +57,7 @@ use WeChat\Exceptions\InvalidInstanceException; * @method \WePay\Coupon WePayCoupon($options = []) static 微信商户代金券 * @method \WePay\Redpack WePayRedpack($options = []) static 微信红包支持 * @method \WePay\Transfers WePayTransfers($options = []) static 微信商户打款到零钱 - * @method \WePay\TransFresBank WePayTransFresBank($options = []) static 微信商户打款到银行卡 + * @method \WePay\TransfersBank WePayTransFresBank($options = []) static 微信商户打款到银行卡 */ class We { diff --git a/WeChat/Pay.php b/WeChat/Pay.php index d3e5f6e..de595d9 100644 --- a/WeChat/Pay.php +++ b/WeChat/Pay.php @@ -20,7 +20,7 @@ use WePay\Bill; use WePay\Order; use WePay\Refund; use WePay\Transfers; -use WePay\TransFresBank; +use WePay\TransfersBank; /** * 微信支付商户 @@ -197,7 +197,7 @@ class Pay extends BasicPay */ public function createTransfersBank(array $options) { - $pay = new TransFresBank($this->config->get()); + $pay = new TransfersBank($this->config->get()); return $pay->create($options); } @@ -209,7 +209,7 @@ class Pay extends BasicPay */ public function queryTransFresBank($partner_trade_no) { - $pay = new TransFresBank($this->config->get()); + $pay = new TransfersBank($this->config->get()); return $pay->query($partner_trade_no); } } \ No newline at end of file diff --git a/WePay/TransFresBank.php b/WePay/TransfersBank.php similarity index 99% rename from WePay/TransFresBank.php rename to WePay/TransfersBank.php index b4400d2..0ff82a5 100644 --- a/WePay/TransFresBank.php +++ b/WePay/TransfersBank.php @@ -25,7 +25,7 @@ use WeChat\Exceptions\InvalidResponseException; * Class TransFresBank * @package WePay */ -class TransFresBank extends BasicPay +class TransfersBank extends BasicPay { /**