feat: api key manage page funciton is ready

This commit is contained in:
RockYang
2024-01-04 10:48:04 +08:00
parent 039b70eed2
commit d1950acd01
6 changed files with 133 additions and 19 deletions

View File

@@ -6,5 +6,8 @@ type ApiKey struct {
Platform string
Type string // 用途 chat => 聊天img => 绘图
Value string // API Key 的值
ApiURL string // 当前 KEY 的 API 地址
Enabled bool // 是否启用
UseProxy bool // 是否使用代理访问 API URL
LastUsedAt int64 // 最后使用时间
}