mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-03 04:26:36 +08:00
refactor: split modules and harden scraping workflows
This commit is contained in:
@@ -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。
|
||||
|
||||
Reference in New Issue
Block a user