mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
🗑 优化无效数据清理
This commit is contained in:
@@ -22,8 +22,6 @@ type User struct {
|
||||
Token string `gorm:"UNIQUE_INDEX" json:"-"` // 认证 Token
|
||||
TokenExpired time.Time `json:"token_expired,omitempty"` // Token 过期时间
|
||||
SuperAdmin bool `json:"super_admin,omitempty"` // 超级管理员
|
||||
|
||||
TeamsID []uint64 `gorm:"-"`
|
||||
}
|
||||
|
||||
func NewUserFromGitHub(gu *github.User) User {
|
||||
|
||||
Reference in New Issue
Block a user