liuxiaolong
2019-08-23 ccf396d18f149c3ba1d5bb1279f29a5d6eff864c
controllers/cameraPolygon.go
@@ -13,6 +13,7 @@
type CameraPolygonVo struct {
   CameraId      string `json:"camera_id"`      //摄像机id
   SnapshotUrl   string  `json:"snapshot_url"`   //快照地址
   Line        []PolygonS   `json:"line"`    //画的所有线
   Rect         []PolygonS   `json:"rect"`    //矩形
   Arrow        []PolygonS    `json:"arrow"`    //箭头
@@ -115,7 +116,7 @@
   if flag {
      util.ResponseFormat(c,code.Success,data)
   } else {
      util.ResponseFormat(c,code.ComError,data)
      util.ResponseFormat(c,code.ComError,"更新失败")
   }
}