getusers
This commit is contained in:
@@ -104,6 +104,8 @@ func GetUsers(db *DaoDB, userType int, keyword string, userIDs, userID2s, mobile
|
|||||||
}
|
}
|
||||||
sql += " LIMIT ? OFFSET ?"
|
sql += " LIMIT ? OFFSET ?"
|
||||||
sqlParams = append(sqlParams, pageSize, offset)
|
sqlParams = append(sqlParams, pageSize, offset)
|
||||||
|
fmt.Println(sql)
|
||||||
|
fmt.Println(sqlParams)
|
||||||
Begin(db)
|
Begin(db)
|
||||||
defer Commit(db)
|
defer Commit(db)
|
||||||
if err = GetRows(db, &userList, sql, sqlParams...); err == nil {
|
if err = GetRows(db, &userList, sql, sqlParams...); err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user