瀏覽代碼

注销

master
huangjiajun 1 周之前
父節點
當前提交
4b8e6f8c5d
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      consume/user_delete_consume.go

+ 1
- 2
consume/user_delete_consume.go 查看文件

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


Loading…
取消
儲存