feat: 新增第三方登录认证和管理

This commit is contained in:
TsMask
2025-08-12 10:12:46 +08:00
parent b7e4948fbb
commit 9e57c145d1
62 changed files with 2086 additions and 721 deletions

View File

@@ -11,6 +11,8 @@ type SysUser struct {
Sex string `json:"sex" gorm:"column:sex"` // 用户性别0未选择 1男 2女
Avatar string `json:"avatar" gorm:"column:avatar"` // 头像地址
Password string `json:"-" gorm:"column:password"` // 密码
UserType string `json:"userType" gorm:"column:user_type"` // 用户类型System系统用户
UserSource string `json:"userSource" gorm:"column:user_source"` // 用户来源UID (系统#)
StatusFlag string `json:"statusFlag" gorm:"column:status_flag"` // 账号状态0停用 1正常
DelFlag string `json:"-" gorm:"column:del_flag"` // 删除标记0存在 1删除
PasswordUpdateTime int64 `json:"passwordUpdateTime" gorm:"column:password_update_time"` // 密码更新时间