From 7f42f0bef5625e0eff65b2977c63721157ce1c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 11 Aug 2021 14:40:08 +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 95181d81..a61f42c6 100644 --- a/System/Jwt/Jwt.php +++ b/System/Jwt/Jwt.php @@ -112,7 +112,7 @@ class Jwt extends Component $params[] = $this->jwtHeader(); $params[] = $this->jwtBody($unionId); - $params[] = hash('ripemd128', $params[0] . $params[1]); + $params[] = hash($this->encrypt, $params[0] . $params[1]); return implode('.', $params); }