正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论