This commit is contained in:
richboo111
2022-08-10 15:51:20 +08:00
parent ce7a720192
commit 89d233e1cb

View File

@@ -52,7 +52,7 @@ func GetUserBindAuthInfo(db *DaoDB, userID string, bindType int, typeList []stri
//}
globals.SugarLogger.Debug("输出一下传入的authIDauthID2", authID, authID2, userID)
if authID != "" || authID2 != "" || userID != "" {
sql += "AND (t1.auth_id = ? OR t1.auth_id2 = ? OR t1.user_id = ? )"
sql += " AND (t1.auth_id = ? OR t1.auth_id2 = ? OR t1.user_id = ? )"
sqlParams = append(sqlParams, authID, authID2, userID)
}
//if authID != "" {