mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 12:17:38 +08:00
update
This commit is contained in:
parent
e5c52c2e52
commit
c646d126d6
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Yansongda\Pay\Plugin\Alipay\Open;
|
namespace Yansongda\Pay\Plugin\Alipay\Tools;
|
||||||
|
|
||||||
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
|
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
|
||||||
|
|
||||||
class AuthTokenAppPlugin extends GeneralPlugin
|
class OpenAuthTokenAppPlugin extends GeneralPlugin
|
||||||
{
|
{
|
||||||
protected function getMethod(): string
|
protected function getMethod(): string
|
||||||
{
|
{
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Yansongda\Pay\Plugin\Alipay\Open;
|
namespace Yansongda\Pay\Plugin\Alipay\Tools;
|
||||||
|
|
||||||
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
|
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
|
||||||
|
|
||||||
class AuthTokenAppQueryPlugin extends GeneralPlugin
|
class OpenAuthTokenAppQueryPlugin extends GeneralPlugin
|
||||||
{
|
{
|
||||||
protected function getMethod(): string
|
protected function getMethod(): string
|
||||||
{
|
{
|
||||||
|
15
src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php
Normal file
15
src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php
Normal 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';
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user