feat: 接入商务用户资料和全局统计偏好

This commit is contained in:
Yvan
2026-11-03 17:44:25 +08:00
parent 89cc7761b5
commit ce4b54a2e2
39 changed files with 2562 additions and 17 deletions
+7
View File
@@ -25,6 +25,13 @@ type userPO struct {
OriginSetting string `gorm:"type:text"`
PasswordUpdatedAt *time.Time
MustChangePassword bool
Level int `gorm:"type:tinyint unsigned;not null;default:0"`
ParentID uint `gorm:"not null;default:0;index:idx_sys_users_business_parent"`
IDPath string `gorm:"column:id_path;size:255;not null;default:0"`
RealName string `gorm:"size:30;not null;default:''"`
QQNumber string `gorm:"column:qq_number;size:20;not null;default:''"`
BusinessStatus int `gorm:"type:tinyint unsigned;not null;default:0"`
RejectReason string `gorm:"size:200;not null;default:''"`
}
func (userPO) TableName() string { return "sys_users" }