liuxiaolong
2019-08-22 f4e8f206a6760bdc31734dfcb1c65916b5b76311
controllers/camera.go
@@ -21,9 +21,9 @@
   Name      string  `json:"name"`
   Type      int     `json:"type" `
   Addr      string  `json:"addr"`
   Areaid    string    `json:"areaid"`
   Longitude float64 `json:"longitude"`
   Latitude  float64 `json:"latitude"`
   Areaid    string  `json:"areaid"`
   Longitude float32 `json:"longitude"`
   Latitude  float32 `json:"latitude"`
   Rtsp      string  `json:"rtsp"`
   Ip        string  `json:"ip"`
   Port      int     `json:"port"`
@@ -269,6 +269,7 @@
    //filename, err := service.UpdateSnapshotUrl(cid)
   filename, err := service.UpdateCapture(cid)
    if err != nil {
       logger.Debug("UpdateSnapshotUrl.err:",err)
      util.ResponseFormat(c, code.ComError, "更新失败")
        return 
    }