From 89a2a416bdb105e586c9b37495befe1374538474 Mon Sep 17 00:00:00 2001 From: yansongda Date: Sun, 25 Jul 2021 14:53:20 +0800 Subject: [PATCH] fix: #453 --- src/Plugin/Alipay/Fund/TransCommonQueryPlugin.php | 15 +++++++++++++++ .../Alipay/Fund/TransTobankTransferPlugin.php | 15 +++++++++++++++ src/Plugin/Alipay/GeneralPlugin.php | 6 ++++++ 3 files changed, 36 insertions(+) create mode 100644 src/Plugin/Alipay/Fund/TransCommonQueryPlugin.php create mode 100644 src/Plugin/Alipay/Fund/TransTobankTransferPlugin.php diff --git a/src/Plugin/Alipay/Fund/TransCommonQueryPlugin.php b/src/Plugin/Alipay/Fund/TransCommonQueryPlugin.php new file mode 100644 index 0000000..9897f7f --- /dev/null +++ b/src/Plugin/Alipay/Fund/TransCommonQueryPlugin.php @@ -0,0 +1,15 @@ + $rocket->getParams(), ]); + $this->doSomething($rocket); + Logger::info('[alipay][GeneralPlugin] 通用插件装载完毕', ['rocket' => $rocket]); return $next($rocket); } + protected function doSomething(Rocket $rocket): void + { + } + abstract protected function getMethod(): string; }