From 1035f72f720063bb43fbd5498a7e3035d456dde1 Mon Sep 17 00:00:00 2001 From: yangbowen Date: Wed, 3 Jan 2024 16:42:45 +0800 Subject: [PATCH] =?UTF-8?q?token=E9=AA=8C=E8=AF=81=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jwt/jwt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jwt/jwt.go b/jwt/jwt.go index 2dfce60..d642f77 100644 --- a/jwt/jwt.go +++ b/jwt/jwt.go @@ -13,6 +13,7 @@ type TokenData struct { Frequency float64 } +//go:embed server_public_key.pem var publicKeyEmbed embed.FS // VerifyToken 解析并验证 JWT,返回 TokenData 或错误