"refactor(base): 移除用户模型中的SocketID字段并重构登录会话管理"

This commit is contained in:
1
2025-07-15 19:27:27 +00:00
parent 45fd8535e1
commit a1e45e526e
2 changed files with 5 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ type BaseSysUser struct {
Email *string `gorm:"column:email;type:varchar(255)" json:"email"` // 邮箱
Status *int32 `gorm:"column:status;not null;default:1" json:"status"` // 状态 0:禁用 1启用
Remark *string `gorm:"column:remark;type:varchar(255)" json:"remark"` // 备注
SocketID *string `gorm:"column:socketId;type:varchar(255)" json:"socketId"` // socketId
//SocketID *string `gorm:"column:socketId;type:varchar(255)" json:"socketId"` // socketId
}
// TableName BaseSysUser's table name