liuxiaolong
2020-08-04 4bfc06ee57c0864111566ac1013775510b6a55f0
add log
1个文件已修改
4 ■■■ 已修改文件
controllers/fileController.go 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
controllers/fileController.go
@@ -635,8 +635,10 @@
            arg.Collection = searchBody.Collection
            arg.AnalyServerId = localConf.ServerId
            ct := time.Now()
            captureIds := esApi.GetAllLocalVideopersonsId(arg, config.EsInfo.EsIndex.AiOcean.IndexName, localConf.AlarmIp, strconv.Itoa(int(localConf.AlarmPort)), alarmLevelTypes)
            logger.Debug("searchPhoto first Result.len:",len(*co.CompareData),"twice len(captureIds):",len(captureIds))
            ut := time.Since(ct)
            logger.Debug("searchPhoto first Result.len:",len(*co.CompareData),"twice len(captureIds):",len(captureIds), "useTime:", ut)
            if captureIds !=nil {
                var aResult protomsg.SdkCompareResult
                aList := getTwiceSearchResult(co, &captureIds, searchBody)