From 8f7ae2600db7f0436272a54b5c9d9f1c4c9c0d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Tue, 12 Apr 2022 17:01:05 +0800 Subject: [PATCH] debug --- .../Callback/Http/Controllers/YeePayNotifyController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Endpoint/Callback/Http/Controllers/YeePayNotifyController.php b/app/Endpoint/Callback/Http/Controllers/YeePayNotifyController.php index 7275b514..c3ff4115 100644 --- a/app/Endpoint/Callback/Http/Controllers/YeePayNotifyController.php +++ b/app/Endpoint/Callback/Http/Controllers/YeePayNotifyController.php @@ -85,6 +85,11 @@ class YeePayNotifyController extends Controller { $yeePayService = new YeePayService(config('services.yeepay')); + logger()->debug('yeepay notify sign------>', [ + 'sign' => $request->input('sign'), + 'sign2' => $yeePayService->sign($request->input()), + ]); + if ($request->input('sign') === $yeePayService->sign($request->input())) { return; }