refactor: split modules and harden scraping workflows

This commit is contained in:
ShukeBta
2026-06-24 11:59:18 +08:00
parent efca3cbe69
commit 192f35d9fa
470 changed files with 47957 additions and 33839 deletions
+3
View File
@@ -97,6 +97,9 @@ type UserDevice struct {
LastPlayAt *time.Time `gorm:"index" json:"last_play_at,omitempty"`
Warnings int `gorm:"default:0" json:"warnings"` // 指纹不匹配累计告警次数
Kicked bool `gorm:"default:false" json:"kicked"` // 被一键踢下线(强制重新登录)
Realtime bool `gorm:"-" json:"realtime,omitempty"`
Online bool `gorm:"-" json:"online,omitempty"`
Playing bool `gorm:"-" json:"playing,omitempty"`
}
// BeforeCreate 生成 UUID。