From 929595069fae1592c293b2757a8694dd6fb49901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 3 Nov 2020 14:23:27 +0800 Subject: [PATCH] test --- business/auth2/auth2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 617d6d6db..92553e48a 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -273,6 +273,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string if user != nil && user.GetID() != "" { userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP()) } + globals.SugarLogger.Debugf("tetetetet", utils.Format4Output(user, false)) //如果是小程序 if authType == "weixinmini" || authType == "weixinapp" { appID := strings.Split(authSecret, ",")[0]