From c0d92f612ed1330a5a233369789f4379a0afbe4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 17 Oct 2022 15:49:54 +0800 Subject: [PATCH] 1 --- services/print_server/app_server/wx_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/print_server/app_server/wx_login.go b/services/print_server/app_server/wx_login.go index e8837b5..5ed18c1 100644 --- a/services/print_server/app_server/wx_login.go +++ b/services/print_server/app_server/wx_login.go @@ -81,7 +81,7 @@ func (u *UserLogin) WxLogin(ctx *gin.Context, param *wxLogin.WxLoginReq) (*model users[0].UpdatedAt = &timeNow users[0].LastOperator = users[0].Name users[0].LastLoginIP = ctx.ClientIP() - if err := dao.UpdateUserWx(users[0], []string{"updated_at", "last_operator", "last_login_ip", "name", "avatar", "open_id", "union_id"}); err != nil { + if err := dao.UpdateUserWx(users[0], []string{"updated_at", "last_operator", "name", "avatar", "last_login_ip", "open_id", "union_id"}); err != nil { globals.SugarLogger.Debugf("====err:%s", err.Error()) return nil, err }