Browse Source

更新规则链管理接口

liuxiulin 2 years ago
parent
commit
1eb88d62d4
1 changed files with 1 additions and 1 deletions
  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))
 
 	// ruleChain api
-	RuleChainAPI := mvc.New(adminRouter.Party("/rule_chain"))
+	RuleChainAPI := mvc.New(userRouter.Party("/rule_chain"))
 	RuleChainAPI.Register(ruleChainService).Handle(new(controllers.RuleChainController))
 }