From c646d126d6d6f98f6845da9d101c7639b7f50e77 Mon Sep 17 00:00:00 2001 From: yansongda Date: Sun, 4 Jul 2021 22:09:53 +0800 Subject: [PATCH] update --- .../Alipay/Tools/OpenAuthTokenAppPlugin.php | 4 ++-- .../Alipay/Tools/OpenAuthTokenAppQueryPlugin.php | 4 ++-- .../Alipay/Tools/SystemOauthTokenPlugin.php | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php diff --git a/src/Plugin/Alipay/Tools/OpenAuthTokenAppPlugin.php b/src/Plugin/Alipay/Tools/OpenAuthTokenAppPlugin.php index c7b23bb..27ddd78 100644 --- a/src/Plugin/Alipay/Tools/OpenAuthTokenAppPlugin.php +++ b/src/Plugin/Alipay/Tools/OpenAuthTokenAppPlugin.php @@ -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 { diff --git a/src/Plugin/Alipay/Tools/OpenAuthTokenAppQueryPlugin.php b/src/Plugin/Alipay/Tools/OpenAuthTokenAppQueryPlugin.php index 2fb283f..8a0fe56 100644 --- a/src/Plugin/Alipay/Tools/OpenAuthTokenAppQueryPlugin.php +++ b/src/Plugin/Alipay/Tools/OpenAuthTokenAppQueryPlugin.php @@ -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 { diff --git a/src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php b/src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php new file mode 100644 index 0000000..ce47a33 --- /dev/null +++ b/src/Plugin/Alipay/Tools/SystemOauthTokenPlugin.php @@ -0,0 +1,15 @@ +