diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 2d96e8e5e..9873a462b 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -278,7 +278,9 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string user = userProvider.GetUser(authBindEx.UserID, UserIDID) } } + globals.SugarLogger.Debug("输出authBindEx", authBindEx) authInfo = createAuthInfo(user, authBindEx) + globals.SugarLogger.Debug("输出authInfo", authInfo) if user != nil && user.GetID() != "" { userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP()) }