mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
[更新]修正并调整接口类名
This commit is contained in:
parent
2641989064
commit
12052df150
2
We.php
2
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
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
@ -25,7 +25,7 @@ use WeChat\Exceptions\InvalidResponseException;
|
||||
* Class TransFresBank
|
||||
* @package WePay
|
||||
*/
|
||||
class TransFresBank extends BasicPay
|
||||
class TransfersBank extends BasicPay
|
||||
{
|
||||
|
||||
/**
|
Loading…
x
Reference in New Issue
Block a user