liuxiulin 2 天之前
父节点
当前提交
7cd2474080
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/ruleEngine/nodes/temp_alarm_node.go

+ 1 - 1
pkg/ruleEngine/nodes/temp_alarm_node.go

@@ -80,7 +80,7 @@ type TempAlarmNodeConfig struct {
 
 type MessageFields struct {
 	Field string `json:"field"`
-	Type  string `json:"type"`
+	Type  int    `json:"type"`
 }
 
 // Rule 表示一组报警规则