作者 郑周

周期 添加

@@ -14,7 +14,7 @@ func init() { @@ -14,7 +14,7 @@ func init() {
14 web.NSRouter("/", &controllers.CycleController{}, "Put:UpdateCycle"), 14 web.NSRouter("/", &controllers.CycleController{}, "Put:UpdateCycle"),
15 web.NSRouter("/", &controllers.CycleController{}, "Delete:RemoveCycle"), 15 web.NSRouter("/", &controllers.CycleController{}, "Delete:RemoveCycle"),
16 web.NSRouter("/:Id", &controllers.CycleController{}, "Get:GetCycle"), 16 web.NSRouter("/:Id", &controllers.CycleController{}, "Get:GetCycle"),
17 - web.NSRouter("/list", &controllers.CycleController{}, "Post:ListRuleRelCreator"), 17 + web.NSRouter("/list", &controllers.CycleController{}, "Post:ListCycle"),
18 ) 18 )
19 web.AddNamespace(ns) 19 web.AddNamespace(ns)
20 } 20 }