[更新]修正并调整接口类名

This commit is contained in:
Anyon 2018-05-25 16:14:33 +08:00
parent 2641989064
commit 12052df150
3 changed files with 5 additions and 5 deletions

2
We.php
View File

@ -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
{

View File

@ -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);
}
}

View File

@ -25,7 +25,7 @@ use WeChat\Exceptions\InvalidResponseException;
* Class TransFresBank
* @package WePay
*/
class TransFresBank extends BasicPay
class TransfersBank extends BasicPay
{
/**