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 或错误