From 32a70c5f159f66b7cbd57a12c7645f858d1a4d0b Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sun, 8 Jan 2023 20:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Callback/Controller/NotifyController.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Application/Callback/Controller/NotifyController.class.php b/Application/Callback/Controller/NotifyController.class.php index eea7057..8d0fe52 100644 --- a/Application/Callback/Controller/NotifyController.class.php +++ b/Application/Callback/Controller/NotifyController.class.php @@ -934,7 +934,10 @@ class NotifyController extends BaseController public function kd_callback() { $params = I('post.'); - KDLog::write('NOTIFY_DATA:' . json_encode($params)); + KDLog::write('NOTIFY_INPUT:' . file_get_contents('php://input')); + KDLog::write('NOTIFY_POST:' . json_encode($params)); + KDLog::write('NOTIFY_REQUEST:' . json_encode($_REQUEST)); + $response = new KDResponse($params); if (!$response->verify()) { echo 'SIGN_VERIFY_FAIL';