소스 검색

更新规则链管理接口

liuxiulin 2 년 전
부모
커밋
afc3e11bcd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      services/knowoapi/services/rule_chain.go

+ 1 - 0
services/knowoapi/services/rule_chain.go

@@ -47,6 +47,7 @@ func (a ruleChainService) Create(ruleChain *models.RuleChain) error {
 }
 
 func (a ruleChainService) create(ruleChain *models.RuleChain) error {
+	fmt.Printf("++++++++++++++++%s+++++++++++++++", ruleChain.Cell)
 	if len(ruleChain.Cell) > 0 {
 		nodeMap := make(map[string]models.RuleNode)
 		for _, v := range ruleChain.Cell {