panlei
2019-07-15 6778d033d1659069119cd0fb7fc5947b29c1cd5e
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})