Browse Source

注销

herolist
huangjiajun 3 weeks ago
parent
commit
e864636622
2 changed files with 5 additions and 4 deletions
  1. +4
    -3
      app/hdl/hdl_user.go
  2. +1
    -1
      go.mod

+ 4
- 3
app/hdl/hdl_user.go View File

@@ -468,9 +468,10 @@ func Delete(c *gin.Context) {
user.State = 3
db.Db.Where("id=?", user.Id).Cols("state").Update(user)
tmp := model.UserDeleteInfo{
Uid: int(user.Id),
Phone: user.Phone,
CreateAt: time.Now(),
Uid: int(user.Id),
Phone: user.Phone,
ParentUid: int(user.ParentUid),
CreateAt: time.Now(),
}
db.Db.Insert(&tmp)
ch, err := rabbit.Cfg.Pool.GetChannel()


+ 1
- 1
go.mod View File

@@ -33,7 +33,7 @@ require (
)

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241225092233-b22661930965
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241229040905-b840e6fb411a
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241227092843-802cf07ae61c
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5


Loading…
Cancel
Save