feat(api-key): 增加 API Key 上次使用时间并补齐测试
This commit is contained in:
@@ -19,6 +19,7 @@ type APIKey struct {
|
||||
Status string
|
||||
IPWhitelist []string
|
||||
IPBlacklist []string
|
||||
LastUsedAt *time.Time
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
User *User
|
||||
|
||||
Reference in New Issue
Block a user