From 5a94a745906c2253f9abd00e63823381776555c8 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Tue, 3 Mar 2026 11:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=90=8D=E7=AE=97=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/utils/SystemAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/utils/SystemAuth.php b/app/common/utils/SystemAuth.php index cbef538..6977fa8 100644 --- a/app/common/utils/SystemAuth.php +++ b/app/common/utils/SystemAuth.php @@ -14,7 +14,7 @@ class SystemAuth public static function generateSignature(string $userId, int $timestamp, string $secret): string { $data = $userId . $timestamp; - return hash_hmac('sha256', $data, $secret); + return hash_hmac('md5', $data, $secret); } /**