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]