fix jwtClaims + owneridentity

This commit is contained in:
david 2024-02-29 22:11:36 +08:00
parent 26048b1b41
commit f2f179d984
1 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ 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"`
Client string `json:"client"` OwnerIdentity any `json:"owner_identity"`
Role string `json:"role"` Role string `json:"role"`
ExpiresAt int64 `json:"exp"` ExpiresAt int64 `json:"exp"`
} }