feat: add tenant commands
This commit is contained in:
@@ -18,8 +18,10 @@ const (
|
||||
)
|
||||
|
||||
type BaseClaims struct {
|
||||
UID uint64 `json:"uid,omitempty"`
|
||||
Role uint64 `json:"role,omitempty"`
|
||||
OpenID string `json:"open_id,omitempty"`
|
||||
Tenant string `json:"tenant,omitempty"`
|
||||
UserID int64 `json:"user_id,omitempty"`
|
||||
TenantID int64 `json:"tenant_id,omitempty"`
|
||||
}
|
||||
|
||||
// Custom claims structure
|
||||
|
||||
Reference in New Issue
Block a user