diff --git a/business/model/dao/dao_auth2.go b/business/model/dao/dao_auth2.go index 10181a85f..34cbe095f 100644 --- a/business/model/dao/dao_auth2.go +++ b/business/model/dao/dao_auth2.go @@ -53,7 +53,7 @@ func GetUserBindAuthInfo(db *DaoDB, userID string, bindType int, typeList []stri sqlParams = append(sqlParams, authID) } if authID2 != "" { - sql += " AND t1.auth_id2 = ?" + sql += " OR t1.auth_id2 = ?" sqlParams = append(sqlParams, authID2) } if len(typeIDs) > 0 {