feat: 缓存代理keys

This commit is contained in:
tbphp committed 2025-07-24 21:53:00 +08:00
1 parent abb8fa1d19
commit c421123ab6
8 files changed
+38 -9

No files matched your search

+3
View File
@@ -58,6 +58,9 @@ type Group struct {
LastValidatedAt *time.Time `json:"last_validated_at"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
// For cache
ProxyKeysMap map[string]struct{} `gorm:"-" json:"-"`
}
// APIKey 对应 api_keys 表