更新jwt验证方法

This commit is contained in:
2025-08-10 02:10:33 +08:00
parent 52f1c6c0fc
commit 0abdb5e5e5

View File

@@ -0,0 +1,8 @@
package usermodel
import "github.com/golang-jwt/jwt/v5"
type JWTClaims struct {
OpenID string `json:"openid"`
jwt.RegisteredClaims
}