- up
This commit is contained in:
@@ -24,6 +24,9 @@ func GetUserByID(db *DaoDB, fieldName, fieldValue string) (user *model.User, err
|
||||
}
|
||||
|
||||
func GetUsers(db *DaoDB, userType int, userID2, mobile, userName string) (userList []*model.User, err error) {
|
||||
if userType == 0 {
|
||||
userType = 255
|
||||
}
|
||||
sql := `
|
||||
SELECT *
|
||||
FROM user t1
|
||||
|
||||
Reference in New Issue
Block a user