提交 82a42f36 编写于 作者: U UlricQin

host filter support id field

上级 30b600fe
......@@ -345,6 +345,8 @@ func resourceBindNode(c *gin.Context) {
if len(ids) == 0 {
bomb("resources not found by %s", "ident")
}
} else if f.Field == "id" {
ids = str.IdsInt64(strings.Join(f.Items, ","))
} else {
bomb("field[%s] not supported", f.Field)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册