- fix bug in UnionFindAuthBind

This commit is contained in:
gazebo
2019-03-09 14:20:21 +08:00
parent 960a022b25
commit 4b362baea9
3 changed files with 10 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ func GetUserByID(db *DaoDB, fieldName, fieldValue string) (user *model.User, err
utils.DefaultTimeValue,
fieldValue,
}
globals.SugarLogger.Debugf("GetUserByID sql:%s, sqlParams:%s", sql, utils.Format4Output(sql, false))
globals.SugarLogger.Debugf("GetUserByID sql:%s, sqlParams:%s", sql, utils.Format4Output(sqlParams, false))
err = GetRow(db, &user, sql, sqlParams...)
return user, err
}