mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 10:43:44 +08:00
fixed bug for register page code verification
This commit is contained in:
11
api/store/model/app_type.go
Normal file
11
api/store/model/app_type.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type AppType struct {
|
||||
Id uint `gorm:"primarykey"`
|
||||
Name string
|
||||
Icon string
|
||||
SortNum int
|
||||
CreatedAt time.Time
|
||||
}
|
||||
12
api/store/vo/app_type.go
Normal file
12
api/store/vo/app_type.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package vo
|
||||
|
||||
type AppType struct {
|
||||
BaseVo
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Value string `json:"value"` // API Key 的值
|
||||
ApiURL string `json:"api_url"`
|
||||
Enabled bool `json:"enabled"`
|
||||
ProxyURL string `json:"proxy_url"`
|
||||
LastUsedAt int64 `json:"last_used_at"` // 最后使用时间
|
||||
}
|
||||
Reference in New Issue
Block a user