token验证解析

master v1.0.2
yangbowen 1 year ago
parent 719f79ffd8
commit 1035f72f72
  1. 1
      jwt/jwt.go

@ -13,6 +13,7 @@ type TokenData struct {
Frequency float64 Frequency float64
} }
//go:embed server_public_key.pem
var publicKeyEmbed embed.FS var publicKeyEmbed embed.FS
// VerifyToken 解析并验证 JWT,返回 TokenData 或错误 // VerifyToken 解析并验证 JWT,返回 TokenData 或错误

Loading…
Cancel
Save