mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-06 06:07:59 +08:00
增加对phpstorm的代码提示
This commit is contained in:
parent
7e9eab13e4
commit
fded4d8ab8
@ -14,6 +14,14 @@ use Yansongda\Supports\Collection;
|
||||
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) 电脑支付
|
||||
*/
|
||||
class Alipay implements GatewayApplicationInterface
|
||||
{
|
||||
/**
|
||||
|
@ -14,6 +14,17 @@ use Yansongda\Supports\Collection;
|
||||
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 支付
|
||||
*/
|
||||
class Wechat implements GatewayApplicationInterface
|
||||
{
|
||||
/**
|
||||
|
@ -10,6 +10,10 @@ use Yansongda\Pay\Exceptions\GatewayException;
|
||||
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) 微信
|
||||
*/
|
||||
class Pay
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user