diff --git a/src/modules/rdb/http/router_node.go b/src/modules/rdb/http/router_node.go index d95f53de..5a2f50c0 100644 --- a/src/modules/rdb/http/router_node.go +++ b/src/modules/rdb/http/router_node.go @@ -22,7 +22,7 @@ func nodeGets(c *gin.Context) { where := "" param := []interface{}{} if cate != "" { - where += "cate in (?)" + where += "cate = ?" param = append(param, cate) }