update: 2026-03-28 20:59
This commit is contained in:
9
infogenie-backend-go/internal/model/site_60s_upstream.go
Normal file
9
infogenie-backend-go/internal/model/site_60s_upstream.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
// Site60sUpstream 单例行(id=1):60s API 上游节点,仅管理员可改
|
||||
type Site60sUpstream struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
SourceID string `gorm:"type:varchar(32);not null;default:self" json:"source_id"` // self | official
|
||||
}
|
||||
|
||||
func (Site60sUpstream) TableName() string { return "site_60s_upstream" }
|
||||
Reference in New Issue
Block a user