|
@@ -98,6 +98,6 @@ func registerRouters(srv *iris.Application, models *model.All, gen *generator.Ke
|
|
RoleAPI.Register(roleService).Handle(new(controllers.RoleController))
|
|
RoleAPI.Register(roleService).Handle(new(controllers.RoleController))
|
|
|
|
|
|
// ruleChain api
|
|
// ruleChain api
|
|
- RuleChainAPI := mvc.New(adminRouter.Party("/rule_chain"))
|
|
|
|
|
|
+ RuleChainAPI := mvc.New(userRouter.Party("/rule_chain"))
|
|
RuleChainAPI.Register(ruleChainService).Handle(new(controllers.RuleChainController))
|
|
RuleChainAPI.Register(ruleChainService).Handle(new(controllers.RuleChainController))
|
|
}
|
|
}
|