fix: root_id

master
howell 3 years ago
parent 1fc1a8ec52
commit 74ecd84775

@ -50,6 +50,7 @@ func (r *registerUser) UserAdd(c *gin.Context, login *user.Login, info *user.Inf
if p.Level == 2 {
level = 0
parentID = p.ID
rootID = p.RootID
}
if p.Level == 10 {
level = 2

Loading…
Cancel
Save