refactor: user remove is ready for console

This commit is contained in:
RockYang
2023-06-20 07:08:37 +08:00
parent 65a01f4776
commit d244ad9983
5 changed files with 79 additions and 34 deletions

View File

@@ -12,7 +12,7 @@ type User struct {
ChatConfig string `gorm:"column:chat_config_json"` // 聊天配置 json
ChatRoles string `gorm:"column:chat_roles_json"` // 聊天角色
ExpiredTime int64 // 账户到期时间
Status bool // 当前状态
Status bool `gorm:"default:true"` // 当前状态
LastLoginAt int64 // 最后登录时间
LastLoginIp string // 最后登录 IP
}