|
|
@@ -91,8 +91,9 @@ func handleUserDeleteConsume(backEg *xorm.Engine, ch *rabbit.Channel, msgData [] |
|
|
|
backEg.Insert(&user) |
|
|
|
user.Phone = "" |
|
|
|
user.State = 2 |
|
|
|
user.ParentUid = 0 |
|
|
|
user.Nickname = "注销用户" |
|
|
|
db.Db.Where("id=?", user.Id).Cols("state,phone,nickname").Update(&user) |
|
|
|
db.Db.Where("id=?", user.Id).Cols("state,phone,nickname,parent_uid").Update(&user) |
|
|
|
} |
|
|
|
//2.用户关系链 |
|
|
|
//查出所有下级 |
|
|
|