fix jwtClaims + owner

This commit is contained in:
david 2024-02-29 22:14:56 +08:00
parent f2f179d984
commit 29fb426c60
1 changed files with 6 additions and 6 deletions

View File

@ -6,10 +6,10 @@ type CertFileBytes struct {
} }
type JwtClaims struct { type JwtClaims struct {
ID uint `json:"id"` ID uint `json:"id"`
Identity string `json:"identity"` Identity string `json:"identity"`
Extend map[string]string `json:"extend"` Extend map[string]string `json:"extend"`
OwnerIdentity any `json:"owner_identity"` Owner any `json:"owner"`
Role string `json:"role"` Role string `json:"role"`
ExpiresAt int64 `json:"exp"` ExpiresAt int64 `json:"exp"`
} }