Explorar o código

更新规则链管理接口

liuxiulin %!s(int64=2) %!d(string=hai) anos
pai
achega
afc3e11bcd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {