From ce7a72019268abd6c7dd2d95fbd1f75902f319e7 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 10 Aug 2022 15:46:20 +0800 Subject: [PATCH] dd --- business/model/dao/dao_auth2.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/model/dao/dao_auth2.go b/business/model/dao/dao_auth2.go index 26009299e..8dcd99756 100644 --- a/business/model/dao/dao_auth2.go +++ b/business/model/dao/dao_auth2.go @@ -46,10 +46,10 @@ func GetUserBindAuthInfo(db *DaoDB, userID string, bindType int, typeList []stri sqlParams = append(sqlParams, bindType) } globals.SugarLogger.Debug("输出一下传入的GenQuestionMarks(len(typeList))", GenQuestionMarks(len(typeList))) - if len(typeList) > 0 { - sql += " AND t1.type IN (" + GenQuestionMarks(len(typeList)) + ")" - sqlParams = append(sqlParams, typeList) - } + //if len(typeList) > 0 { + // sql += " AND t1.type IN (" + GenQuestionMarks(len(typeList)) + ")" + // sqlParams = append(sqlParams, typeList) + //} globals.SugarLogger.Debug("输出一下传入的authID,authID2", authID, authID2, userID) if authID != "" || authID2 != "" || userID != "" { sql += "AND (t1.auth_id = ? OR t1.auth_id2 = ? OR t1.user_id = ? )"