mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
[FIX] fix rule api from /v2/nodes/{} to /v2/nodes/rule/{}
This commit is contained in:
parent
20130fb5c5
commit
755e292676
@ -57,7 +57,7 @@ func Routers(mode string) *chi.Mux {
|
||||
|
||||
r.Get("/resources", controller.Resources)
|
||||
r.Get("/", controller.GetNodes)
|
||||
r.Get("/{rule}", controller.GetRuleNodes)
|
||||
r.Get("/rule/{rule}", controller.GetRuleNodes)
|
||||
r.Post("/", controller.NewNode) //增加一个节点
|
||||
r.Post("/multiple", controller.NewMultipleNode) //增加多个节点
|
||||
r.Delete("/{node_id}", controller.DeleteRainbondNode) //删除一个节点
|
||||
|
Loading…
Reference in New Issue
Block a user