From 305ddc28c64d6aba62b2e8991b08425ead3e5183 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 8 Jan 2026 16:53:09 +0800 Subject: [PATCH] 1 --- app/common/service/AuthService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/service/AuthService.php b/app/common/service/AuthService.php index 68f9823..a6a352c 100644 --- a/app/common/service/AuthService.php +++ b/app/common/service/AuthService.php @@ -40,8 +40,8 @@ class AuthService $noncestr = $this->generateNonceStr(); // 获取毫秒级时间戳 - //$timestamp = (int)round(microtime(true) * 1000); - $timestamp = (int)time(); + $timestamp = (int)round(microtime(true) * 1000); +// $timestamp = time(); // 拼接签名字符串 $verifyStr = "jsapi_ticket={$jsapiTicket}&noncestr={$noncestr}×tamp={$timestamp}&url={$url}";