refactor /api/rdb/nodes?cate=xx

This commit is contained in:
UlricQin 2020-11-16 11:01:36 +08:00
parent 033383eea4
commit e928faf4f9
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func nodeGets(c *gin.Context) {
where := ""
param := []interface{}{}
if cate != "" {
where += "cate in (?)"
where += "cate = ?"
param = append(param, cate)
}