From 98cd9ac43a415d5262a5c305833faf78ff85d334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Jwt/Jwt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Jwt/Jwt.php b/System/Jwt/Jwt.php index 40510e84..086c21ba 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -308,7 +308,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY= foreach ($param as $key => $val) { $str .= md5($str . sha1($key . md5($val))); } - $str .= sha1(base64_encode($requestTime)); + $str .= sha1(base64_encode((string)$requestTime)); return $this->preg(md5($str . $user)); }