浏览代码

更新规则链管理接口

liuxiulin 2 年之前
父节点
当前提交
1eb88d62d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/knowoapi/router.go

+ 1 - 1
services/knowoapi/router.go

@@ -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))
 }
 }