ruleserver/ruleToformula.go
@@ -628,7 +628,7 @@ // 将字符串格式的坐标序列化为Point格式 func Json2points(areaPoints string) []Point { var pts []Point if areaPoints == "[]" { if areaPoints == "[]" || areaPoints == ""{ logger.Error("=====================此区域为全部区域") pts = append(pts, Point{0, 0}) pts = append(pts, Point{0, 540})