refactor /api/rdb/nodes?cate=xx
This commit is contained in:
parent
033383eea4
commit
e928faf4f9
|
@ -22,7 +22,7 @@ func nodeGets(c *gin.Context) {
|
|||
where := ""
|
||||
param := []interface{}{}
|
||||
if cate != "" {
|
||||
where += "cate in (?)"
|
||||
where += "cate = ?"
|
||||
param = append(param, cate)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue