| 123456789101112131415161718 |
- package request
- import (
- "github.com/golang-jwt/jwt/v4"
- )
- type CustomClaims struct {
- BaseClaims
- BufferTime int64
- jwt.RegisteredClaims
- }
- type BaseClaims struct {
- LoginID int
- Group int
- SessionID int
- // FIXME: 要不要这里存UserID?
- }
|