Config => array|string

This commit is contained in:
kriss 2018-02-26 15:03:00 +08:00
parent fded4d8ab8
commit 5c33514a3d
3 changed files with 17 additions and 17 deletions

View File

@ -15,12 +15,12 @@ use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method \Yansongda\Pay\Gateways\Alipay\AppGateway app(Config $config) APP 支付
* @method \Yansongda\Pay\Gateways\Alipay\PosGateway pos(Config $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Alipay\ScanGateway scan(Config $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Alipay\TransferGateway transfer(Config $config) 帐户转账
* @method \Yansongda\Pay\Gateways\Alipay\WapGateway wap(Config $config) 手机网站支付
* @method \Yansongda\Pay\Gateways\Alipay\WebGateway web(Config $config) 电脑支付
* @method \Yansongda\Pay\Gateways\Alipay\AppGateway app(array|string $config) APP 支付
* @method \Yansongda\Pay\Gateways\Alipay\PosGateway pos(array|string $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Alipay\ScanGateway scan(array|string $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Alipay\TransferGateway transfer(array|string $config) 帐户转账
* @method \Yansongda\Pay\Gateways\Alipay\WapGateway wap(array|string $config) 手机网站支付
* @method \Yansongda\Pay\Gateways\Alipay\WebGateway web(array|string $config) 电脑支付
*/
class Alipay implements GatewayApplicationInterface
{

View File

@ -15,15 +15,15 @@ use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method \Yansongda\Pay\Gateways\Wechat\AppGateway app(Config $config) APP 支付
* @method \Yansongda\Pay\Gateways\Wechat\GroupRedpackGateway groupRedpack(Config $config) 分裂红包
* @method \Yansongda\Pay\Gateways\Wechat\MiniappGateway miniapp(Config $config) 小程序支付
* @method \Yansongda\Pay\Gateways\Wechat\MpGateway mp(Config $config) 公众号支付
* @method \Yansongda\Pay\Gateways\Wechat\PosGateway pos(Config $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Wechat\RedpackGateway redpack(Config $config) 普通红包
* @method \Yansongda\Pay\Gateways\Wechat\ScanGateway scan(Config $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Wechat\TransferGateway transfer(Config $config) 企业付款
* @method \Yansongda\Pay\Gateways\Wechat\WapGateway wap(Config $config) H5 支付
* @method \Yansongda\Pay\Gateways\Wechat\AppGateway app(array|string $config) APP 支付
* @method \Yansongda\Pay\Gateways\Wechat\GroupRedpackGateway groupRedpack(array|string $config) 分裂红包
* @method \Yansongda\Pay\Gateways\Wechat\MiniappGateway miniapp(array|string $config) 小程序支付
* @method \Yansongda\Pay\Gateways\Wechat\MpGateway mp(array|string $config) 公众号支付
* @method \Yansongda\Pay\Gateways\Wechat\PosGateway pos(array|string $config) 刷卡支付
* @method \Yansongda\Pay\Gateways\Wechat\RedpackGateway redpack(array|string $config) 普通红包
* @method \Yansongda\Pay\Gateways\Wechat\ScanGateway scan(array|string $config) 扫码支付
* @method \Yansongda\Pay\Gateways\Wechat\TransferGateway transfer(array|string $config) 企业付款
* @method \Yansongda\Pay\Gateways\Wechat\WapGateway wap(array|string $config) H5 支付
*/
class Wechat implements GatewayApplicationInterface
{

View File

@ -11,8 +11,8 @@ use Yansongda\Supports\Config;
use Yansongda\Supports\Str;
/**
* @method static \Yansongda\Pay\Gateways\Alipay alipay(array $config) 支付宝
* @method static \Yansongda\Pay\Gateways\Wechat wechat(array $config) 微信
* @method static \Yansongda\Pay\Gateways\Alipay alipay(array|string $config) 支付宝
* @method static \Yansongda\Pay\Gateways\Wechat wechat(array|string $config) 微信
*/
class Pay
{