|
@@ -96,7 +96,8 @@ func registerRouters(srv *iris.Application, models *model.All, gen *generator.Ke
|
|
|
adminRouter := v1router.Party("/admin", newJWThandle())
|
|
|
RoleAPI := mvc.New(adminRouter.Party("/role"))
|
|
|
RoleAPI.Register(roleService).Handle(new(controllers.RoleController))
|
|
|
+
|
|
|
// ruleChain api
|
|
|
- RuleChainAPI := mvc.New(adminRouter.Party("/rule_chain"))
|
|
|
+ RuleChainAPI := mvc.New(v1router.Party("/chain"))
|
|
|
RuleChainAPI.Register(ruleChainService).Handle(new(controllers.RuleChainController))
|
|
|
}
|