From f725c64475272a1c41d72340749ee15b8f28bb47 Mon Sep 17 00:00:00 2001 From: weizong song Date: Wed, 1 Jan 2025 10:38:39 +0800 Subject: [PATCH] up --- app/Http/Controllers/Customer/PayCallbackController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Customer/PayCallbackController.php b/app/Http/Controllers/Customer/PayCallbackController.php index e968ce3..980bb07 100644 --- a/app/Http/Controllers/Customer/PayCallbackController.php +++ b/app/Http/Controllers/Customer/PayCallbackController.php @@ -10,10 +10,10 @@ use Illuminate\Support\Facades\Log; class PayCallbackController extends Controller { public function index() { - $notify = new \NotifyPub(); - //存储微信的回调 $xml = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : file_get_contents("php://input"); Log::info($xml); + $notify = new \NotifyPub(); + //存储微信的回调 $notify->saveData($xml); //验证签名,并回应微信。