This commit is contained in:
yansongda 2021-07-04 22:09:53 +08:00
parent e5c52c2e52
commit c646d126d6
3 changed files with 19 additions and 4 deletions

View File

@ -2,11 +2,11 @@
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Alipay\Open;
namespace Yansongda\Pay\Plugin\Alipay\Tools;
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
class AuthTokenAppPlugin extends GeneralPlugin
class OpenAuthTokenAppPlugin extends GeneralPlugin
{
protected function getMethod(): string
{

View File

@ -2,11 +2,11 @@
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Alipay\Open;
namespace Yansongda\Pay\Plugin\Alipay\Tools;
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
class AuthTokenAppQueryPlugin extends GeneralPlugin
class OpenAuthTokenAppQueryPlugin extends GeneralPlugin
{
protected function getMethod(): string
{

View File

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Alipay\Tools;
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
class SystemOauthTokenPlugin extends GeneralPlugin
{
protected function getMethod(): string
{
return 'alipay.system.oauth.token';
}
}