From b5b36df6053654fdff2ab34837e576e458ce07a4 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Mon, 7 Aug 2023 23:03:36 +0800 Subject: [PATCH] yh --- app/Service/RequestService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/RequestService.php b/app/Service/RequestService.php index 974355c..c455a87 100644 --- a/app/Service/RequestService.php +++ b/app/Service/RequestService.php @@ -9,7 +9,7 @@ use App\Model\RequestLog; class RequestService extends AbstractService { - public function getRequestLogByToken($token): RequestLog + public function getRequestLogByToken($token): ?RequestLog { return RequestLog::where('request_token', $token)->first(); }