|
|
@@ -8,7 +8,6 @@ import ( |
|
|
|
"applet/consume/md" |
|
|
|
db2 "code.fnuoos.com/EggPlanet/egg_models.git/src" |
|
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
|
"code.fnuoos.com/EggPlanet/egg_system_rules.git" |
|
|
|
"code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit" |
|
|
|
"encoding/json" |
|
|
|
"errors" |
|
|
@@ -90,7 +89,7 @@ func handleUserDeleteConsume(backEg *xorm.Engine, ch *rabbit.Channel, msgData [] |
|
|
|
backEg.Insert(&user) |
|
|
|
user.Phone = "" |
|
|
|
user.State = 2 |
|
|
|
user.Nickname = "注销用户" + time.Now().Format("2006-01-02 15:04:05") |
|
|
|
user.Nickname = "注销用户" |
|
|
|
db.Db.Where("id=?", user.Id).Cols("state,phone,nickname").Update(&user) |
|
|
|
} |
|
|
|
//2.用户关系链 |
|
|
|