From 49dea6eff49522d615fa9aa44d9f072664c6d4e9 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sun, 15 Jan 2023 21:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Support/RealNameSupport.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Support/RealNameSupport.php b/app/Support/RealNameSupport.php index 0991931..0a9813d 100644 --- a/app/Support/RealNameSupport.php +++ b/app/Support/RealNameSupport.php @@ -3,9 +3,9 @@ namespace App\Support; use Illuminate\Http\Client\PendingRequest; -use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Log; use Illuminate\Support\Str; /** @@ -108,6 +108,7 @@ public function verify(array $request): array|bool $verify = $this->verifyIfSuccess($request['data'], $request['sign']); if (!$verify) { + Log::debug('实名认证签名验证失败', $request); return false; } @@ -115,7 +116,7 @@ public function verify(array $request): array|bool return false; } - $return = Cache::get('real_name:' . $data['bizNo'], false); + $return = Cache::get('real_name:' . $data['bizNo'], false); Cache::forget('real_name:' . $data['bizNo']);