From 2ad054b7de8ed669d7ad51ec67e586dd2064863c Mon Sep 17 00:00:00 2001 From: richboo111 Date: Fri, 12 Aug 2022 10:48:04 +0800 Subject: [PATCH] dd --- business/auth2/auth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index e7b9d0a9f..e3de92b2f 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -276,7 +276,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string // authBindEx.UserID = user.GetID() // } //if user3:=api.DingDingAPI.GetUserID(a) - if user2 := userProvider.GetUser(authBindEx.AuthID2, authIDType); user2 != nil { + if user2 := userProvider.GetUser(authBindEx.AuthID2, "auth_id2"); user2 != nil { user = user2 } globals.SugarLogger.Debug("user检测1=============", user)