host filter support id field
This commit is contained in:
parent
30b600fe36
commit
82a42f3649
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue