Bläddra i källkod

注销

master
huangjiajun 1 vecka sedan
förälder
incheckning
4b8e6f8c5d
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. +1
    -2
      consume/user_delete_consume.go

+ 1
- 2
consume/user_delete_consume.go Visa fil

@@ -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.用户关系链


Laddar…
Avbryt
Spara