From be4c1edf72a57ae65ca237f9fa46021609e127da Mon Sep 17 00:00:00 2001 From: yansongda Date: Tue, 15 Jun 2021 18:24:22 +0800 Subject: [PATCH] update --- src/Plugin/Wechat/Pay/Jsapi/QueryPlugin.php | 1 + src/Plugin/Wechat/SignPlugin.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Plugin/Wechat/Pay/Jsapi/QueryPlugin.php b/src/Plugin/Wechat/Pay/Jsapi/QueryPlugin.php index 61dbd11..a6a6c62 100644 --- a/src/Plugin/Wechat/Pay/Jsapi/QueryPlugin.php +++ b/src/Plugin/Wechat/Pay/Jsapi/QueryPlugin.php @@ -25,5 +25,6 @@ class QueryPlugin extends GeneralPlugin protected function checkPayload(Rocket $rocket): void { + $rocket->setPayload(null); } } diff --git a/src/Plugin/Wechat/SignPlugin.php b/src/Plugin/Wechat/SignPlugin.php index 769090e..99f9ad9 100644 --- a/src/Plugin/Wechat/SignPlugin.php +++ b/src/Plugin/Wechat/SignPlugin.php @@ -15,6 +15,8 @@ class SignPlugin implements PluginInterface { Logger::info('[wechat][SignPlugin] 插件开始装载', ['rocket' => $rocket]); + // todo + Logger::info('[wechat][SignPlugin] 插件装载完毕', ['rocket' => $rocket]); return $next($rocket);