dd
This commit is contained in:
@@ -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 = ? )"
|
||||
|
||||
Reference in New Issue
Block a user