fixed bug for register page code verification

This commit is contained in:
RockYang
2024-09-12 15:42:09 +08:00
parent a642ae0332
commit cd0952e170
15 changed files with 259 additions and 20 deletions

View 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
View 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"` // 最后使用时间
}