panlei
2019-08-27 22a39b184970c265e36a511ca447ec1b6816d109
fix resp nil bug
1个文件已修改
3 ■■■■ 已修改文件
insertdata/insertDataToEs.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
insertdata/insertDataToEs.go
@@ -420,7 +420,7 @@
                logger.Error("查询摄像机信息失败")
            }
            serverIp, err := GetLocalIP()
            if resp["fileUrl"] != nil {
            url = append(url, resp["fileUrl"].(string))
            esDataId := uuid.NewV4().String()
            linksId := ""
@@ -467,6 +467,7 @@
                logger.Warn("__________________________________________往ES插入yolo数据成功")
                //os.Exit(1)
            }
            }
        } else {
            logger.Debug("timeLabel条件都不符合!")
        }