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

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