mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 18:23:45 +08:00
refactor: 调整项目目录结构,移除其他语言 API 目录
This commit is contained in:
9
api/store/model/api_key.go
Normal file
9
api/store/model/api_key.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
// ApiKey OpenAI API 模型
|
||||
type ApiKey struct {
|
||||
BaseModel
|
||||
UserId uint //用户ID,系统添加的用户 ID 为 0
|
||||
Value string // API Key 的值
|
||||
LastUsedAt int64 // 最后使用时间
|
||||
}
|
||||
Reference in New Issue
Block a user