From d5a1b11b35c379caac78ca70d5fe13a3bc10991a Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 26 Feb 2026 17:21:22 +0800 Subject: [PATCH] jsapi --- app/common/utils/Feishu.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/common/utils/Feishu.php b/app/common/utils/Feishu.php index b1260dc..7e8dda7 100644 --- a/app/common/utils/Feishu.php +++ b/app/common/utils/Feishu.php @@ -241,7 +241,7 @@ class Feishu $ticket = $this->getJsapiTicket($accessToken); // 3. 生成签名参数 - $timestamp = time(); + $timestamp = (int) round(microtime(true) * 1000); $nonceStr = $this->generateNonceStr(); // 4. 生成签名 @@ -251,7 +251,8 @@ class Feishu 'appId' => $this->appId, 'timestamp' => $timestamp, 'nonceStr' => $nonceStr, - 'signature' => $signature + 'signature' => $signature, + 'url' => $url ]; }